PowerView
You can only list the GPO's and not their settings
Get-DomainGPO
Get-DomainGPO -ComputerIdentity dcorp-student1Get users which are in a local group of a machine using GPO
If you can compromise a user in that group, it may be a local admin on all the workstations
Get-DomainGPOLocalGroupGet machines where the given user is member of a specific group
Get-DomainGPOComputerLocalGroupMapping -ComputerIdentity
dcorp-student1Organizational Units
Get-DomainOU
Get-DomainOU -properties name
Get GPO applied on an OU. Read GPOname from gplink attribute from Get-NetOU
Get-DomainGPO -Identity "{0D1CC23D-1F20-4EEE-AF64-
D99597AE2A6E}"Find all computers in an OU
(Get-DomainOU -identity <OU>).distinguishedname |
%{Get-DomainComputer -SearchBase $_} | select nameLast updated