Remove-VBRProtectionGroup
Short Description
Removes protection groups.
Applies to
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Remove-VBRProtectionGroup -ProtectionGroup <VBRProtectionGroup[]> [-UninstallEverything] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes selected protection groups from the Veeam Backup & Replication database. When you remove a protection group, Veeam Backup & Replication removes Veeam Agent and Veeam Plug-in from all computers of this group. You cannot undo this operation. Backups created for protected computers remain in backup repositories.
Note |
Consider the following:
|
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
ProtectionGroup | Specifies an array of protection groups. The cmdlet will remove these protection groups from Veeam Backup & Replication. | Accepts the VBRProtectionGroup[] object. To get this object, run the Get-VBRProtectionGroup cmdlet. | True | Named | True (ByValue, |
UninstallEverything | Defines that the cmdlet will remove an array of protection groups from the configuration database. Additionally, the cmdlet will uninstall the following entities from every computer in the deleted protection group:
| SwitchParameter | False | Named | False |
WhatIf | Defines whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. | SwitchParameter | False | Named | False |
Confirm | Defines whether the cmdlet displays a prompt that asks if the user is sure that they want to continue. Note: Microsoft PowerShell enables the Confirm parameter for this cmdlet by default. To disable this option, set the parameter value to $false. That is, Confirm:$false. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Example 1. Removing Protection Group
This example shows how to remove a protection group from Veeam Backup & Replication.
Perform the following steps:
|
Example 2. Removing All Protection Groups by Name
This example shows how to remove all protection groups with names containing Support.
Perform the following steps:
|
Related Commands