Uninstall-VBRDiscoveredComputerPlugin

Short Description

Removes Veeam Plug-in from a specific protected computer.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Uninstall-VBRDiscoveredComputerPlugin -DiscoveredComputer <VBRDiscoveredComputer[]> -Type <VBRApplicationType> [-RunAsync] [-WhatIf] [-Confirm]  [<CommonParameters>]

Detailed Description

This cmdlet removes Veeam Agent from a specific protected computer.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept
Wildcard
Characters

DiscoveredComputer

Specifies an array of computers. The cmdlet will remove Veeam Plug-in from these computers.

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

True

Named

True (ByValue, ByPropertyName)

False

Type

Specifies the type of Veeam Plug-in to be installed on the protected computers:

  • OracleRMAN: for Veeam Plug-in for Oracle RMAN.
  • SAPHANA: for Veeam Plug-in for SAP HANA
  • SAPOnOracle: for Veeam Plug-in for SAP on Oracle

The cmdlet will return discovered computers with applications of these types.

Accepts VBRApplicationType type.

True

Named

False

False

RunAsync

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

SwitchParameter

False

Named

True (ByPropertyName)

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

False

Confirm

Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue.

SwitchParameter

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

VBRSession

Example

Removing Veeam Plug-in from Protected Computers

This example shows how to remove Veeam Plug-in for Oracle RMAN from protected computers that are added to the specified protection group.

$group = Get-VBRProtectionGroup -Name "Database Servers"

$computers = Get-VBRDiscoveredComputer -ProtectionGroup $group

Uninstall-VBRDiscoveredComputerPlugin -DiscoveredComputer $computers -Type OracleRMAN

Perform the following steps:

  1. Run the Get-VBRProtectionGroup cmdlet. Specify the Name parameter value. Save the result to the $group variable.
  2. Run the Get-VBRDiscoveredComputer cmdlet. Set the $group variable as the ProtectionGroup parameter value. Save the result to the $computers variable
  3. Run the Uninstall-VBRDiscoveredComputerPlugin cmdlet. Set the $computers variable as the DiscoveredComputer parameter value. Use the Type parameter to specify the application type.

Related Commands