Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
#Open PS session to one of your domain controllers if necessary:
Enter-PSSession -ComputerName cndrm-dc01 -Credential DOMAIN\administrator
#Select IsGlobalCatalog propery for your DCs:
Get-ADDomainController -Filter * | Select-Object -Property Name,IsGlobalCatalog | Format-Table -AutoSize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment