Remove-VBRvCDReplica
Short Description
Removes Cloud Director replicas.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
FromDb (Default)Remove-VBRvCDReplica -Replica <VBRvCDReplica> [-Force] [-WhatIf]
[-Confirm] [<CommonParameters>]
-
FromDiskRemove-VBRvCDReplica -Replica <VBRvCDReplica> [-FromDisk] [-RunAsync] [-Force]
[-WhatIf] [-Confirm] [<CommonParameters>]
Detailed Description
This cmdlet removes Cloud Director replicas.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Force |
Defines that the cmdlet will remove a Cloud Director without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
FromDisk |
Defines that the cmdlet will remove a Cloud Director replica from a disk. |
|
True |
Named |
False |
|
Replica |
Specifies a Cloud Director replica that you want to remove.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command.
Note: Microsoft PowerShell enables the |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Removing Cloud Director Replica
This cmdlet removes a Cloud Director replica from the backup infrastructure.
|
$replica = Get-VBRvCDReplica -Id "2a7c321c-c8cf-4aec-9332-93882e69c667" Remove-VBRvCDReplica -Replica $replica |
Perform the following steps:
- Run the
Get-VBRvCDReplicaReturns Cloud Director replicas. cmdlet. Specify theIdparameter value. Save the result to the$replicavariable. - Run the
Remove-VBRvCDReplicacmdlet. Set the$replicavariable as theReplicaparameter value.
Related Commands
Get-VBRvCDReplicaReturns Cloud Director replicas.