Using PowerShell to Verify Your Schema Version

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.

Windows 2000 RTM with all Service packs = Schema version 13
Windows Server 2003 RTM with all Service packs = Schema version 30
Windows Server 2003 R2 RTM with all Service packs = Schema version 31
Windows Server 2008 RTM with all Service packs = Schema version 44
Windows Server 2008 R2 RTM with all Service packs = Schema version 47

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 comment

*