How to view all users' access permissions (security tab) for all shared folders?

1.5k Views Asked by At

I have many shared folders in a server. I need to view the users who has access to them using PowerShell but I do not know how to do it as I am new in PowerShell.

Do you have any scripts to do that?

Input: root folder, or server name. Any is ok for me
Output: folder, user

1

There are 1 best solutions below

0
On

Look into using Get-ACL. This gives you the Access Control List for a folder.

Here is more information from Microsoft on ACLs: Get-Acl