Using PowerShell to Verify Your Schema Version

Filed Under (Active Directory, PowerShell) by on 17-01-2011

I love PowerShell.  The more I learn the better it becomes.

There are several versions of the Active Directory Schema available.  You must know what version you are running to fully understand the capabilities it allows for.  Below shows the different versions of the Active Directory Schema. The following link from MSDN should also update later versions.

Windows 2000 RTM = Schema version 13
Windows Server 2003 RTM = Schema version 30
Windows Server 2003 R2 RTM = Schema version 31
Windows Server 2008 RTM = Schema version 44
Windows Server 2008 R2 RTM = Schema version 47
Windows Server 2012 RTM = Schema version 56
Windows Server 2012 R2 RTM = Schema version 69
Windows Server 2016 RTM = Schema version 87

Now to see what version you are running just open up PowerShell (make sure you’ve loaded the native AD Cmdlets) and type the following:

Get-ADObject “cn=schema,cn=configuration,dc=domain_name,dc=local” -properties objectversion

Just check the objectversion results for the corresponding number above to check your schema version.

Leave a Reply