Hey Matthew,
While we try to keep those parameter names the same there are instances where it makes sense to change them. However in those instances we should always have an alias set on the parameter that does that mapping for you. For instance if we check the set-nacifsshareacl cmdlet, the Share parameter will bind to either Name, or ShareName.
PS ≥ Get-NaHelpAlias set-nacifsshareacl
Name Aliases
---- -------
Share {ShareName, Name}
User {Username}
UnixGroup {Groupname}
AccessRights {}
Acl {}
Controller {Filer, Server}
Verbose {vb}
Debug {db}
ErrorAction {ea}
WarningAction {wa}
ErrorVariable {ev}
WarningVariable {wv}
OutVariable {ov}
OutBuffer {ob}
WhatIf {wi}
Confirm {cf}
In other words you could just do:
Get-NaCifsShareAcl | Where-Object {$_.UserAclInfo -like "everyone"} | Set-NaCifsShareAcl -User "NT AUTHORITY\Authenticated Users" -AccessRights "Full Control"
Get-NaCifsShareAcl | Where-Object {$_.UserAclInfo -like "everyone"} | Remove-NaCifsShareAcl -User "everyone"
Hope that helps,
~Glenn