March 20th, 2013

PowerTip: Use PowerShell to Determine AD Forest Mode

Doctor Scripto
Scripter

Summary: Learn how to use Windows PowerShell and the Active Directory module to determine the AD DS forest mode.

 Hey, Scripting Guy! Question How can I use Windows PowerShell to determine the AD DS forest mode?

Hey, Scripting Guy! Answer Use the Get-ADForest cmdlet from the Active Directory module for Windows PowerShell and use the ForestMode property:

(Get-ADForest).ForestMode

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.