PowerTip: Use PowerShell to Determine AD Forest Mode

Doctor Scripto

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

0 comments

Discussion is closed.

Feedback usabilla icon