Determine the current Exchange Server schema version via Powershell


We can find out the current Exchange Server schema version only by one cmdlet. AD module is needed.

06-05-2013 1-43-10

Import-Module ActiveDirectory  
(Get-ADObject $("CN=ms-Exch-Schema-Version-Pt,"+$((Get-ADRootDSE).NamingContexts | Where-Object {$_ -like "*Schema*"})) -Property rangeUpper).rangeUpper

The origin of cmdlet is from PowerShell Active Directory Schema Update Report.

Exchange Server version – Forest “rangeUpper” attribute of ms-Exch-Schema-Version-Pt

  • Exchange 2000 Server RTM – 4397
  • Exchange 2000 Server SP3 – 4406
  • Exchange Server 2003 RTM – 6870
  • Exchange Server 2003 SP1 – 6870
  • Exchange Server 2003 SP2 – 6870
  • Exchange Server 2007 RTM – 10637
  • Exchange Server 2007 SP1 – 11116
  • Exchange Server 2007 SP2 – 14622
  • Exchange Server 2007 SP3 – 14625
  • Exchange Server 2010 RTM – 14622
  • Exchange Server 2010 SP1 – 14726
  • Exchange Server 2010 SP2 – 14732
  • Exchange Server 2013 RTM – 15137
  • Exchange Server 2013 CU1 – 15254
Exchange Schema Versions – Common Questions & Answers

Dude, where’s my rollup?

Exchange Server and Update Rollups Build Numbers

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s