Symptoms
This issue occurs when you deploy Windows Management Framework (WMF) 4.0 in a Microsoft Exchange Server 2010 environment. The following Microsoft Exchange PowerShell scripts for database availability group (DAG) management do not work:
-
StartDagServerMaintenance.ps1
-
StopDagServerMaintenance.ps1
-
RedistributeActiveDatabases.ps1
Cause
This issue occurs because of a by design logic in an Exchange Server 2010 environment.Exchange Server 2010 cmdlets and Exchange Server 2010 setup are not supported in Windows PowerShell 4.0 that is included in WMF 4.0.
Note Exchange Server 2010 PowerShell scripts,Resolution
To resolve this issue, install Update Rollup 10 for Exchange Server 2010 Service Pack 3.
Status
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
More Information
For more information about database availability groups, see Managing Database Availability Groups.