Domains

Get Current Domain

# AD Module
Get-ADDomain

# PowerView
Get-NetDomain

Get Object of Another Domain

# AD Module
Get-ADDomain -Identity lab.local

# PowerView
Get-NetDomain -Domain lab.local

Get Domain SID for Current Domain

# AD Module
(Get-ADDomain).DomainSID

# PowerView
Get-DomainSID

Get Domain Policy for Current Domain

Get Password Policy for Another Domain

Get Kerberos Policy for e.g. Mimikatz Golden Tickets

Get Domain Controllers for Current Domain

Get Domain Controllers for Another Domain

Enumerate All Gobal Catalogs in the Forest

Turn a List of Computer Short Names to FQDNs, Using a Global Catalog

Enumerate the Current Domain Controller Policy

Enumerate the Current Domain Policy

Last updated