Wednesday, August 3, 2011

Active Directory Schema

There are times that you need to update your AD schema to the latest versions and times that you need to just know which you are running. So below are the commands to find your schema version for both AD and Exchange.

For Active Directory Schema version

"dsquery * cn=schema,cn=configuration,dc=domainname,dc=local -scope base -attr objectVersion"


For Exchange Schema version

"dsquery * CN=ms-Exch-Schema-Version-Pt,cn=schema,cn=configuration,dc=domain,dc=local -scope base -attr rangeUpper"

Here are the version numbers and with there respected meanings.

Schema Versions for Operating systems

13 - Windows 2000 Server
30 - Windows Server 2003 RTM, Windows 2003 With Service Pack 1, Windows 2003 With Service Pack 2
31 -Windows Server 2003 R2
44 - Windows Server 2008 RTM
47 - Windows Server 2008 R2


Schema version for Exchange

4397 -Exchange Server 2000 RTM
4406 -Exchange Server 2000 With Service Pack 3
6870 -Exchange Server 2003 RTM
6936 - Exchange Server 2003 With Service Pack 3
10628 - Exchange Server 2007
11116 - Exchange 2007 With Service Pack 1
14726 - Exchange 2010 With Service Pack 1


No comments: