3.1.1.3.2.25 domainControllerFunctionality

msdn link

Returns an integer indicating the functional level of the DC. This value is populated from the msDS-Behavior-Version attribute on the nTDSDSA object that represents the DC (section 6.1.4.2).

Value

Identifier

0

DS_BEHAVIOR_WIN2000

2

DS_BEHAVIOR_WIN2003

3

DS_BEHAVIOR_WIN2008

4

DS_BEHAVIOR_WIN2008R2

5

DS_BEHAVIOR_WIN2012

6

DS_BEHAVIOR_WIN2012R2

7

DS_BEHAVIOR_WIN2016