PowerTip: Use PowerShell to Find Domain Naming Context

Doctor Scripto

Summary: Learn how to use Windows PowerShell to easily find the naming contexts for your AD DS domain.


Hey, Scripting Guy! Question How can I use a Windows PowerShell cmdlet to find information about my naming contexts for Active Directory Domain Services (AD DS)? 

Hey, Scripting Guy! AnswerUse Get-ADRootDSE from the Active Directory module, pipe the results to the Select-Object cmdlet, and use a wildcard pattern to select *naming*. 

Get-ADRootDSE | select *naming* 


Discussion is closed.

Feedback usabilla icon