Check the Exchange Directory (Schema) version

When updating Exchange (either to a whole new release, or most times even for a Service Pack) you have to prepare your AD first. Especially in an environment with multiple domain controllers you should perform a Schema Upgrade before running the actual setup of Exchange. Before continuing with the Setup it’s recommended to check if all your DC’s are already replicated and already have the updated Schema.

Well, this could be a tough job, especially if you have lots of DC’s. Time ago I created the following script to support me with this task. Now I thought it’s time for a redesign and I wrote it almost from scratch.

Actually it’s quite simple. It connects to your DC’s and reads the different directory versions (Schema, Org and Domain) and compares it to the version you specify. In case everything is good the output will be green, otherwise yellow. There are several options, e.g. you can specify a single DC, a list of DC’s based on a text file or simply let the script get a list of DC’s from AD.

Actually I think the script is quite self-explaining. At least as long as you read the help 😉

get-help .\Get-ExSchemaVersions.ps1

get-help .\Get-ExSchemaVersions.ps1 ÔÇôexamples

get-help .\Get-ExSchemaVersions.ps1 -parameter UpdateXML

Help is there, just ask for it J


Querying all versions from all DC’s in my Lab Environment.

 

You can grab your copy of the script at: https://svn.sperrgebiet.org/public/PowerShell/Get-ExSchemaVersions.ps1

I consider this as version 1.0, so if you find an error, have any wishes, or complaints please let me know either in the comments or via Mail. Well, also accept kudos of course 😀

Hope you find the script useful. Please let me know your concerns, wishes, complains in the comments or via Mail.

Cheers
_Hans

One response to “Check the Exchange Directory (Schema) version”

  1. Hey there, are you the modder of the workingspeed override mod in Farming Simulator 22 ?, i didn’t know how to get into contact with you so i did it this way and hope you will see it.. anyhoo, the mod is not multiplayer compatible, my friend keeps synchronizing at 99% when the mod is activated, can you fix this ? if yes that would be awesome, if no well thank you anyway for the mod :), have a nice day and i hope to see more modding from you.

Leave a Reply

Your email address will not be published. Required fields are marked *