Skip to content

Instantly share code, notes, and snippets.

@rasta-mouse
Last active April 11, 2018 21:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rasta-mouse/eb59c2456cba56fa672c391e5616235d to your computer and use it in GitHub Desktop.
Save rasta-mouse/eb59c2456cba56fa672c391e5616235d to your computer and use it in GitHub Desktop.
Some helpful PowerView commands
Find-DomainLocalGroupMember -GroupName Administrators | Select-Object ComputerName, MemberName | Export-Csv -NoTypeInformation -Path local-admins.csv
Get-DomainGPO | % { Get-DomainObjectAcl -Identity $_.name -ResolveGUIDs }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment