March 23rd, 2013

PowerTip: Use PowerShell to Find Domain Naming Context

Doctor Scripto
Scripter

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* 

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.