Does anyone know of a Powershell script that will list all shares and their ACL's on a NETAPP vfiler?

link|improve this question
feedback

1 Answer

The Data ONTAP PowerShell Toolkit has a Get-NaCifsShareAcl cmdlet that'll do just what you want.

PS C:\> connect-nacontroller dunn

PS C:\> Get-NaCifsShareAcl | select ShareName -ExpandProperty UserAclInfo
ShareName        AccessRights        UnixGroupName       UserName
---------        ------------        -------------       --------
ETC$             Full Control                            BUILTIN\Administrators
C$               Full Control                            BUILTIN\Administrators
test             Full Control                            everyone
test             Full Control                            DUNN\krusty
test2            No Access                               everyone
test2            Full Control                            DUNN\krusty
HOME             Full Control                            everyone
HOME             rw-                                     root
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.