Checking permissions for multiple folders?

Chiefcrowe

Diamond Member
Sep 15, 2008
5,055
198
116
So I have a windows file server with a bunch of folders that all have unique security permissions.
Does anyone know of a way to see/list and also save the permissions lists so I can document them without going to each one's properties and taking a screen shot or something like that?

Thanks!
 

imagoon

Diamond Member
Feb 19, 2003
5,199
0
0
Powershell.

Get-ChildItem . | where {$_.PSiscontainer} | Get-Acl

Get-ChildItem . | where {$_.PSiscontainer} | Get-Acl | export-csv c:\myjunk.csv

--edit--

formatted a bit nicer:

Get-ChildItem . -recurse | where {$_.PSiscontainer} | Get-Acl | FL PSpath,accesstostring
 
Last edited:

saratoga172

Golden Member
Nov 10, 2009
1,564
1
81
I'll definitely be giving this a test. Would be hugely beneficial for my team and use at work.