Summary: Learn how to use Windows PowerShell and the Active Directory module to determine the AD DS forest mode.
How can I use Windows PowerShell to determine the AD DS forest mode?
Use the Get-ADForest cmdlet from the Active Directory module for Windows PowerShell and use the ForestMode property:
(Get-ADForest).ForestMode