Check Exchange schema version

When installing a cumulative update for Exchange Server, it’s often unclear whether a schema update is necessary. Microsoft usually specifies the required schema version. To check if I’m already using the correct version, I wrote a PowerShell script that outputs the Exchange schema version: You can find a good table view of a collection of … Weiterlesen

Check and re-balance Exchange DAG

It you did some maintenance in your Exchange DAG you must move mailbox databses to other server. After exit the maintenance you should check if some databases are running active on the „wrong“ server. You can also wait until the PreferenceMoveFrequency is over and the cluster do this by itself. You can check the PreferenceMoveFrequency … Weiterlesen

Get all Exchange system mailboxes

When I migrate an Exchange Server and move all the mailboxes, I regularly „forget“ to move the system mailboxes, and then I get an error when deleting the mailbox database. Here are all the commands to find the relevant mailboxes and migrate them if necessary. IMPORTANT: This must be done for each mailbox database because … Weiterlesen

Move and Exit Exchange DAG member to maintenance

I had to patch many servers in a Exchange DAG (CU22, SU, etc.) and wanted to script the entire process cleanly to save time and standardize it. Here’s my script, which I wrote to cleanly put the server into maintenance mode. I also took into account the possibility of moving emails in the mail queues … Weiterlesen