Skip to content

Instantly share code, notes, and snippets.

@ashr
Forked from benpturner/perms.ps1
Created May 17, 2018 13:39
Show Gist options
  • Save ashr/4f17eb4e6ac8df5826df8ad23bcee475 to your computer and use it in GitHub Desktop.
Save ashr/4f17eb4e6ac8df5826df8ad23bcee475 to your computer and use it in GitHub Desktop.
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