Instantly share code, notes, and snippets.

Embed
What would you like to do?
Powershell Perm Review
Get-ChildItem C:\ -Recurse -ErrorAction SilentlyContinue | ForEach-Object {try {Get-Acl -Path $_.FullName | Select-Object pschildname,pspath,accesstostring} catch{}}|Export-Csv C:\temp\acl.csv -NoTypeInformation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment