Reference: Ladislav Bodnar
Run Exchange PowerShell as administrator
Cd $exscripts
.\StartDAGServerMaintenance.ps1 -Server Servername
Restart or shutdown VM
.\StopDAGServerMaintenance.ps1 -Server Servername
.\RedistributeActiveDatabases.ps1 –DagName DAG01 –BalanceDbsByActivationPreference –confirm:$false