Get Domain Functionnal Level with PowerShell

Hello,

You can have the Domain Functionnal Level with the “Get-ADRootDSE” cmdlet from the Active Directory PowerShell Module, or you can use that .Net class :

[System.DirectoryServices.ActiveDirectory.Domain]::GetCurrentDomain().DomainMode

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.