--- title: "Remove-VBRDiscoveredComputerConfigurationPolicy" description: "Removes policies that contain configuration options for Veeam Agent settings. Make sure to test this cmdlet in the lab before you run it in the production environment." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/remove-vbrdiscoveredcomputerconfigurationpolicy.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Veeam Agent Management > Managing Protected Computers > Veeam Agent Management Discovered Computers > Remove-VBRDiscoveredComputerConfigurationPolicy" dateModified: "2026-08-19" --- # Remove-VBRDiscoveredComputerConfigurationPolicy ## Short Description Removes policies that contain configuration options for Veeam Agent settings. ::: important Make sure to test this cmdlet in the lab before you run it in the production environment. ::: **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Remove-VBRDiscoveredComputerConfigurationPolicy -Policy [-WhatIf] [-Confirm] [] ``` ## Detailed Description This cmdlet removes policies that contain configuration options for Veeam Agent settings. ::: important The cmdlet does not update settings on discovered computers to which the policy has been applied. If you want to change the settings, you must create a new policy and assign it to discovered computers. To create a new policy, run the [`Add-VBRDiscoveredComputerConfigurationPolicy`](add-vbrdiscoveredcomputerconfigurationpolicy.md) cmdlet. ::: ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Policy

Specifies the policy that you want to remove.

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

VBRDiscoveredComputerConfigurationPolicy[]

True

Named

True (ByPropertyName, ByValue)

Confirm

Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action.

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 that the cmdlet will write 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 ### Removing Policy This example shows how to remove a policy using the policy ID. ``` $PolicyToRemove = Get-VBRDiscoveredComputerConfigurationPolicy -Id a78eceb5-d5b8-4fe0-9a8c-cc788a123c4a Remove-VBRDiscoveredComputerConfigurationPolicy -Policy $PolicyToRemove ``` Perform the following steps: 1. Run the [`Get-VBRDiscoveredComputerConfigurationPolicy`](get-vbrdiscoveredcomputerconfigurationpolicy.md) cmdlet. Specify the `Id` parameter value. Save the result to the `$PolicyToRemove` variable. 2. Run the `Remove-VBRDiscoveredComputerConfigurationPolicy` cmdlet. Set the `$PolicyToRemove` variable as the `Policy` parameter value. ::: ## Related Commands - [`New-VBRDiscoveredComputerConfigurationOption`](new-vbrdiscoveredcomputerconfigurationoption.md) - [`Add-VBRDiscoveredComputerConfigurationPolicy`](add-vbrdiscoveredcomputerconfigurationpolicy.md) - [`Get-VBRDiscoveredComputerConfigurationPolicy`](get-vbrdiscoveredcomputerconfigurationpolicy.md)