Thursday, December 28, 2017

AD Schema Version Identification


Every time we plan to upgrade our domain controller, the first question pops up in our mind is - Do we need to upgrade our schema?

There is very simple way to check.

From Command Line

dsquery * cn=schema,cn=configuration,dc=testlab,dc=com -scope base -attr objectVersion 

From Powershell

Get-ADObject (Get-ADRootDSE).schemaNamingContext -Property objectVersion
And now compare the output with following table, to know your AD Schema Version.

AD versionobjectVersion
Windows Server 200013
Windows Server 200330
Windows Server 2003 R231
Windows Server 200844
Windows Server 2008 R247
Windows Server 201256
Windows Server 2012 R269
Windows Server 201687

No comments: