--- title: "Disable-VBRProtectionGroup" description: "This cmdlet disables automatic discovery for the computers of selected protection groups. Run the Enable-VBRProtectionGroup cmdlet to enable automatic discovery." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/disable-vbrprotectiongroup.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Veeam Agent Management > Working with Protection Groups > Veeam Agent Management Protection Groups > Disable-VBRProtectionGroup" dateModified: "2026-08-19" --- # Disable-VBRProtectionGroup ## Short Description Disables automatic discovery for the protection group computers. **Product Edition**: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Disable-VBRProtectionGroup -ProtectionGroup [-WhatIf] [-Confirm] [] ``` ## Detailed Description This cmdlet disables automatic discovery for the computers of selected protection groups. Run the [`Enable-VBRProtectionGroup`](enable-vbrprotectiongroup.md) cmdlet to enable automatic discovery. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ProtectionGroup

Specifies the array of protection groups. The cmdlet will disable automatic discovery for the computers of these protection groups.

Accepts the VBRProtectionGroup[] object. To get this object, run the Get-VBRProtectionGroup cmdlet.

VBRProtectionGroup[]

True

Named

True (ByPropertyName, ByValue)

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

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

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Examples ::: example ### Disabling Automatic Discovery for Computers of Protection Group This example shows how to disable automatic discovery for the computers of a protection group. ``` $group = Get-VBRProtectionGroup -Name "East Computers" Disable-VBRProtectionGroup -ProtectionGroup $group ``` Perform the following steps: 1. Run the [`Get-VBRProtectionGroup`](get-vbrprotectiongroup.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$group` variable. 2. Run the `Disable-VBRProtectionGroup` cmdlet. Set the `$group` variable as the `ProtectionGroup` parameter value. ::: ## Related Commands - [`Get-VBRProtectionGroup`](get-vbrprotectiongroup.md) - [`Enable-VBRProtectionGroup`](enable-vbrprotectiongroup.md)