Quick one liner to find out current version of the Active Directory Schema on your network especially of you have mix of servers.
Using dsquery utility:
1 | dsquery * cn=schema,cn=configuration,dc=domainname,dc=local -scope base -attr objectVersion |
Or as always PowerShell way:
1 | Get-ADObject (Get-ADRootDSE).schemaNamingContext -Property objectVersion |
Depends on Objectversion number you can tell the current version of the Active Directory on your servers.
The following table lists the correspondence between Windows Server versions and versions of the Active Directory Schema.
Windows Server OS | AD Schema Version | |
Windows 2000 | 13 | |
Windows 2003 | 30 | |
Windows 2003 R2 | 31 | |
Windows 2008 | 44 | |
Windows 2008 R2 | 47 | |
Windows 2012 | 56 | |
Windows 2012 R2 | 69 | |
Windows Server 2016 | 87 |