Check Current Active Directory or Exchange Server Schema Version

Need to determine what AD and Exchange Server schema versions are installed?  Run the following three commands from an elevated Command Prompt.

NOTE: The text in red will vary for every Exchange organization and Active Directory environment.

For Exchange Server schema version…

dsquery * “cn=ms-exch-schema-version-pt,cn=schema,cn=configuration,dc=domainname,dc=local" -scope base -attr rangeUpper

For AD forest version…

dsquery * “cn=first organization,cn=microsoft exchange,cn=services,cn=configuration,dc=domainname,dc=local” -scope base -attr objectVersion

For AD domain version…

dsquery * “cn=microsoft exchange system objects,dc=domainname,dc=local” -scope base -attr objectVersion

Reference(s):

Good luck.

Todd (@oddytee)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s