Thomas' Tech Talk

Just Can't Get Enough Of IT

Querying Exchange Server Schema and Version Information

Filed under: Active Directory,Exchange Server — Thomas Stensitzki at 12:42 pm on Tuesday, February 9, 2021  Tagged , , ,

Exchange Server relies heavily on Active Directory. Therefore, you must ensure that the following three Active Directory components are prepared for the most recent release of Exchange Server that you want to install or upgrade to:

  1. The Schema
  2. The Forest
  3. Every domain within the forest you want to use for Exchange Server or Exchange recipient objects

Fellow MVP Michel De Rooij maintains a blog post covering the schema and object versions since Exchange Server 2000.

You can use the following DSQUERY commands to query the information. Ensure to use the correct forest root domain or local domain, if your local Active Directory is not a single forest single domain setup. Adjust the doamin and Exchange organzation names as needed.

 

Querying Exchange Schema for the rangeUpper attribute in the root domain. This is attribute is updated by /prepareSchema.

DSQUERY.exe * "CN=ms-Exch-Schema-Version-Pt,CN=schema,CN=configuration,DC=varunagroup,DC=de" -Scope base -Attr rangeUpper

Example result: 17002

 

Querying Exchange Organization for the objectVersion attribute in the root domain’s configuration partition. This is attribute is updated by /prepareAD.

DSQUERY.exe * "CN=EXCHANGEORGNAME,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=varunagroup,DC=de" -Scope base -Attr objectVersion

Example result: 16756

 

Querying Exchange Organization for the msExchProductId attribute in the root domain’s configuration partition. The value returned shows Exchange Server version an build information. This is attribute is updated by /prepareAD.

DSQUERY.exe * "CN=EXCHANGEORGNAME,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=varunagroup,DC=de" -Scope base -Attr msExchProductId

Example result: 15.02.0792.003

 

Querying Microfoft Exchange System Objects container for the objectVersion attribute in the domain. This is attribute is updated by /prepareAllDomains, /PrepareDomain, or /PrepareDomain:DOMAINFQDN.

DSQUERY.exe * "CN=Microsoft Exchange System Objects,DC=varunagroup,DC=de" -Scope base -Attr objectVersion

 

Example result: 13239

Use the last example for each domain in your Active Directory forest.

 

Enjoy Exchange Server.



No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>