Stop-VBRCDPReplicaFailback
Short Description
Undoes a CDP replica failback.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Stop-VBRCDPReplicaFailback -Replica <VBRCDPReplica> [-PowerOn] [-Force] [-RunAsync] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet undoes CDP replica failback.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Force |
Defines that the cmdlet will undo a failback for a CDP replica without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
PowerOn |
Defines that the cmdlet will power on a CDP replica after failback stops. If you do not provide this parameter, the cmdlet will not power on the replica.
Default: |
|
False |
Named |
False |
|
Replica |
Specifies a CDP replica for which you want to undo failback.
Accepts the |
|
True |
Named |
False |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
|
Confirm |
Defines that the command returns the output object to the Windows PowerShell console.
Note: Microsoft PowerShell enables the |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Undoing Failback
This example shows how to undo failback of the CDP replica of the Win05 VM.
|
$replica = Get-VBRCDPReplica -Name "Win05" Stop-VBRCDPReplicaFailback -Replica $replica -RunAsync |
Perform the following steps:
- Run the
Get-VBRCDPReplicaReturns CDP replicas created by CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on. cmdlet. Specify theNameparameter value. Save the result to the$replicavariable. - Run the
Stop-VBRCDPReplicaFailbackcmdlet. Set the$replicavariable as theReplicaparameter. Provide theRunAsyncparameter.
Related Commands
Get-VBRCDPReplicaReturns CDP replicas created by CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.