Performs a permanent failover to the specified replica copy, and then the copy becomes the new production copy.



Move-EmcProductionReplicaCopy -Copy <ReplicaCopy> [-Force] [-Silent] [-WhatIf] [-Confirm] [<CommonParameters>]



-Copy <ReplicaCopy>

Attributes: Required, Position: named

Specifies the replica copy that will become the new production copy.


-Force <SwitchParameter>

Attributes: Optional, Position: named

Allows the cmdlet to continue without asking for user confirmation.


-Silent <SwitchParameter>

Attributes: Optional, Position: named

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


-WhatIf <SwitchParameter>

Attributes: Optional, Position: named

Shows what would happen if the cmdlet runs. The cmdlet is not run.


-Confirm <SwitchParameter

Attributes: Optional, Position: named

Prompts you for confirmation before executing the command.



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



-------------- Example 1 --------------

C:\PS>$service = Get-EmcReplicationService -ID *60*

$cluster = Get-EmcReplicationServiceCluster -ReplicationService $service

$copy = Get-EmcReplicaCopy -ReplicationServiceCluster $cluster -Role RemoteCopy -ID RP_PS_TEST_CR

Move-EmcProductionReplicaCopy -Copy $copy

This example performs a failover to the remote copy.