I'm new to PowerShell and still trying to understand how everything fits together.
I noticed these two cmdlets use a different property for the CIFS share name - "Share" vs. "Sharename". Is this type of thing commonly "fixed" or have I misinterpreted this being done in error?
I was attempting to write a PowerShell statement to retrieve all the shares on a filer with "everyone / Full Control" and replace that with "Authenticated Users / Full Control". I ended up doing it like this -
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.