Question : Microsoft, NTFS Permissions, Windows 2003 R2, PowerShell, recursive search for folder, not file, ACLs on 200,000 folders

Hello,

I need to use PowerShell to dump the ACLs for folders only, recursively, through 200,000+ folders on a DFS file system running on Windows 2003 R2. We have a tool for doing this but it cannot handle either the path lengths or the number of folders (it stores all the results in memory before writing the output file). I would prefer to use Powershell as it is our go-forward language. The output should be CSV.

Answer : Microsoft, NTFS Permissions, Windows 2003 R2, PowerShell, recursive search for folder, not file, ACLs on 200,000 folders

hrmmm

Perhaps:

Get-childitem -rec | ?{$_.PSisContainer} | get-acl | select Path -expand Access | export-csv aclexport.csv
Random Solutions  
 
programming4us programming4us