Active Directory Functional Domain level check

Active Directory Functional Domain level check

This script will help you to check the Active Directory domain functional level. First the script asks for the domain name (fqdn). Then, the domain controllers names of this domain are queried to get the value of the AD attribute called msDS-Behavior-Version.

The meaning of the retrieved values is described in the following Microsoft MSDN article:

  • 0=Windows 2000
  • 2=Windows Server 2003, Windows Server 2003 R2
  • 3=Windows Server 2008
  • 4=Windows Server 2008 R2
  • 5=Windows Server 2012
  • 6=Windows Server 2012 R2
  • 7=Windows Server 2016

<>

My Powershell script categories

Leave a Reply

Your email address will not be published. Required fields are marked *

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