--- title: "Uninstall-VBRDiscoveredComputerAgent" description: "Removes Veeam Agent from a specific protected computer. Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet removes Veeam Agent from a specific protected computer." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/uninstall-vbrdiscoveredcomputeragent.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Veeam Agent Management > Managing Protected Computers > Veeam Agent Management Discovered Computers > Uninstall-VBRDiscoveredComputerAgent" dateModified: "2026-08-19" --- # Uninstall-VBRDiscoveredComputerAgent ## Short Description Removes Veeam Agent from a specific protected computer. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Uninstall-VBRDiscoveredComputerAgent -DiscoveredComputer [-RunAsync] [-WhatIf] [-Confirm] [] ``` ## Detailed Description This cmdlet removes Veeam Agent from a specific protected computer. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

DiscoveredComputer

Specifies an array of computers. The cmdlet will remove Veeam Agent from these computers.

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

VBRDiscoveredComputer[]

True

Named

True (ByPropertyName, ByValue)

RunAsync

Defines that the command returns immediately without waiting for the task to complete.

SwitchParameter

False

Named

True (ByPropertyName)

Confirm

Defines that the cmdlet will display a prompt that asks if the user is sure that he wants 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 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). ## Output Object [`VBRSession`](vbrsession.md) ## Examples ::: example ### Removing Veeam Agent from Protected Computers This example shows how to remove Veeam Agent from protected computers that are added to the `Support_East` protection group. ``` $group = Get-VBRProtectionGroup -Name "Support_East" $computers = Get-VBRDiscoveredComputer -ProtectionGroup $group Uninstall-VBRDiscoveredComputerAgent -DiscoveredComputer $computers ``` 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 [`Get-VBRDiscoveredComputer`](get-vbrdiscoveredcomputer.md) cmdlet. Set the `$group` variable as the `ProtectionGroup` parameter value. Save the result to the `$computers` variable. 3. Run the `Uninstall-VBRDiscoveredComputerAgent` cmdlet. Set the `$computers` variable as the `DiscoveredComputer` parameter value. ::: ## Related Commands - [`Get-VBRProtectionGroup`](get-vbrprotectiongroup.md) - [`Get-VBRDiscoveredComputer`](get-vbrdiscoveredcomputer.md)