Obj 2 Enumeration
Task - Enumerate OU's and GPO's
Enumeration Cont.
This is using PowerView.ps1 and AMSI has already been bypassed
List all Domain OU's
Get-DomainOUList just the names of the OU's
Get-DomainOU | select -ExpandProperty nameList all computers in the StudentMachines OU
(Get-DomainOU -Identity StudentMachines).distinguishedname | %{Get-DomainComputer -SearchBase $_} | select nameList all the GPO's
Get-DomainGPOList GPO applied to StudentMachines OU
Last updated