Disables a replica copy to stop the replication of that copy.



Disable-EmcReplicaCopy -Copy <ReplicaCopy> [-Force] [-Silent] [-WhatIf] [-Confirm] [<CommonParameters>]



-Copy <ReplicaCopy>

Attributes: Required, Position: Named

The replica copy to disable.


-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.



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

C:\PS>$cluster = Get-EmcReplicationServiceCluster -ReplicationService $service

C:\PS>$copy = Get-EmcReplicaCopy -ReplicationServiceCluster $cluster -Role RemoteCopy -ID RP_PS_TEST_CR

C:\PS>Disable-EmcReplicaCopy -Copy $copy

This example disables a replica copy.