Skip to content

Instantly share code, notes, and snippets.

@benpturner
Last active August 21, 2019 19:30
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save benpturner/de818138c9fcf8e1e67368a901d652f4 to your computer and use it in GitHub Desktop.
Save benpturner/de818138c9fcf8e1e67368a901d652f4 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