Scripts to help with DAG management

The Exchange development group provides several scripts in the installation kit that are of interest for DAG management, some of which we have already encountered earlier in this chapter. You can find the scripts in the Bin\Scripts directory.


Further documentation about command-line switches and how to run the monitoring scripts on a continuous basis is available on TechNet at

The remaining scripts are:

  • RedistributeActiveDatabases.ps1: This script is provided in Exchange 2010 SP1 to perform automatic rebalance of a DAG. For example, if you run it with the –BalanceDbsByActivationPreference parameter, the script attempts to balance databases by activation ...

Get Microsoft® Exchange Server 2010 Inside Out now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.