Remove-VBRProtectionGroup
Short Description
Removes protection groups.
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 Pipeline Input |
|---|---|---|---|---|---|
|
ProtectionGroup |
Specifies an array of protection groups. The cmdlet will remove these protection groups from Veeam Backup & Replication.
Accepts the |
True |
Named |
True (ByPropertyName, 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:
|
|
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 |
|
False |
Named |
False |
|
WhatIf |
Defines whether the cmdlet writes 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
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
Perform the following steps:
|
Related Commands
Get-VBRProtectionGroupReturns protection groups.