Thursday, April 29, 2010

How to Determine AD and Exchange schema versions

There was a MS Technote on how to determine the schema versions and it also listed the versions however the listing didn't include Windows 2008 R2 version and the Exchange 2010 version so I am including them below. Also I am showing command lines to query the specific records.

Article ID: 556086 - Last Review: June 12, 2008 - Revision: 1.0
How to find the current Schema Version
http://support.microsoft.com/kb/556086

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

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
14622 -> Exchange 2010


replace dc=local,dc=domain.
cmdline -
ldifde -d CN=Schema,CN=Configuration,dc=domain,dc=local -f version-schema-ad.txt -r "(objectVersion=*)"
ldifde -d CN=ms-Exch-Schema-Version-Pt,CN=Schema,CN=Configuration,dc=domain,dc=local -f version-schema-exchange.txt -r "(rangeUpper=*)"