Enumerating Domain Controllers
PowerView
Get details about Domain Controller of current domain
Get-NetDomainControllerGet details about Domain Controller of another domain
Get-NetDomainController -Domain <DOMAIN NAME>Get Domain Controller's Name of current domain
(Get-NetDomainController).NameGet Domain Controller's Name of another domain
(Get-NetDomainController -Domain <DOMAIN NAME> ).NameGet Domain Controller's IP Address of current domain
(Get-NetDomainController).IPAddressGet Domain Controller's IP Address of another domain
(Get-NetDomainController -Domain <DOMAIN NAME> ).IPAddressActive Directory Module
Get details about Domain Controller of current domain
Get-ADDomainControllerGet details about Domain Controller of current domain using Active Directory Module
Get-ADDomainController -DomainName <DOMAIN NAME> -DiscoverGet Domain Controller's Name of current domain
(Get-ADDomainController).HostNameGet Domain Controller's Name of another domain
(Get-ADDomainController -DomainName <DOMAIN NAME> -Discover).HostNameGet Domain Controller's IP Address of current domain
(Get-ADDomainController).IPv4AddressGet Domain Controller's IP Address of another domain
(Get-ADDomainController -DomainName <DOMAIN NAME> -Discover).IPv4AddressGet Domain Controller's Operating System and its version for current domain
(Get-ADDomainController).OperatingSystem
(Get-ADDomainController).OperatingSystemVersionGet Domain Controller's Roles of current domain
(Get-ADDomainController).OperationMasterRolesLast updated