Disables failover on an exchange database availability group (DAG) that has been provisioned using ESI.



Disable-EmcExchangeFailover [-DatabaseAvailabilityGroup] <DatabaseAvailabilityGroup> [-Silent] [<CommonParameters>]



This command can be used together with the Update-EmcHAExtension and Enable-EmcExchangeFailover cmdlets to prepare a database for failover operations. The Disable-EmcExchangeFailover example shows how to do this.



-DatabaseAvailabilityGroup <DatabaseAvailabilityGroup>

Attributes: Required, Position: 1

Specifies the DAG on which to disable failover.


-Silent <SwitchParameter>

Attributes: Optional, Position: named

Turns off all the informational and verbose messages. However, it still displays errors.



This cmdlet supports these common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. Type get-help about_commonparameters for more details.



C:\PS>$dag = Get-EmcDatabaseAvailabilityGroup MyDAG

C:\PS>Disable-EmcExchangeFailover $dag

# Before invoking the next command the Administrator should create databases and database copies in the DAG

C:\PS>Update-EmcHAExtension $dag

C:\PS>Enable-EmcExchangeFailover $dag

This example disables failover on the MyDAG DAG, updates the database copy map, and then re-enables failover.