I would like to modify permissions on a number of NetApp CIFS shares (over 100). These are user shares and each share has a different user account with "Change" share permission, this permission now needs to be "Full Control".
I also need to be able to add a new group to these shares and give that group "Full Control" and finally I need to remove a group "Domain Admins" that has already been given permissions to the shares.
So far I've only worked out how to view the share permissions:
Get-NaCifsShareAcl -Share usrtest01 | select ShareName -ExpandProperty UserAclInfo