Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Set-VBRDiscoveredComputerUpdate

Short Description

Assigns Veeam Agent private fixes to discovered computers.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus

Requires Veeam Agent for Microsoft Windows/Veeam Agent for Linux license

Syntax

Set-VBRDiscoveredComputerUpdate -Update <VBRDiscoveredComputerUpdate[]> [-DiscoveredComputer <VBRDiscoveredComputer[]>] [-PassThru]  [<CommonParameters>]

Detailed Description

This cmdlet assigns Veeam Agent private fixes to selected discovered computers. You can use this cmdlet to instruct Veeam Backup & Replication to send specified private fixes only to the associated discovered computers.

If you configured protection group deployment settings to automatically upgrade Veeam Agents, Veeam Backup & Replication will send private fixes from the distribution server to discovered computers and install them at the next scheduled discovery operation.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Update

Specifies the array of private fixes. The cmdlet will assign these private fixes to discovered computers.

NOTE: Every time you run the cmdlet, Veeam Backup & Replication re-assigns selected private fixes to a new set of discovered computers specified by the DiscoveredComputer parameter.

To unassign private fixes from discovered computers, run the cmdlet without the DiscoveredComputer parameter.

Accepts VBRDiscoveredComputerUpdate[] type.

True

Named

True (ByValue,
ByProperty
Name)

False

Discovered
Computer

Specifies the array of discovered computers. The cmdlet will assign private fixes to these computers.

Accepts VBRDiscoveredComputer[] type.

False

Named

True (ByProperty
Name)

False

PassThru

Indicates that the command returns the output object to the Windows PowerShell console.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBRDiscoveredComputerUpdate[]

Example 1

This example shows how to assign a private fix to discovered computers of a protection group.

You will need to perform the following steps:

  1. Run Get-VBRProtectionGroup to get the protection group. Save the result to the $group variable.
  2. Run Get-VBRDiscoveredComputer to get the discovered computers of a protection group. Save the result to the $discovered variable.
  3. Run Get-VBRDiscoveredComputerUpdate to get the private fix you want to assign to the discovered computers. Save the result to the $fix variable.
  4. Run Set-VBRDiscoveredComputerUpdate with the $discovered and $fix variables.

PS C:\PS> $group = Get-VBRProtectionGroup -Name "Support_East"

PS C:\PS> $discovered = Get-VBRDiscoveredComputer -ProtectionGroup $group

PS C:\PS> $fix = Get-VBRDiscoveredComputerUpdate -Id "188235"

PS C:\PS> Set-VBRDiscoveredComputerUpdate -DiscoveredComputer $discovered -Update $fix -PassThru

Id                      : 188235

AgentType               : Windows

AgentVersion            : 2.1.10.304

OperatingSystemPlatform : Unknown

OperatingSystemVersion  :

Path                    : C:\Program Files\Veeam\Veeam Distribution Service\Fixes\VAW\kb.188235

AppliedTo               : {81a586bd-efc7-4280-8591-2bed0b43296f, 38d778f1-1906-44b0-871a-1db9097581a8}

Name                    : VAW.kb.188235.exe

Example 2

This example shows how to remove association between a private fix and discovered computers.

You will need to perform the following steps:

  1. Run Get-VBRDiscoveredComputerUpdate to get the private fix. Save the result to the $fix variable.
  2. Run Set-VBRDiscoveredComputerUpdate with the $fix variable. Do not specify the DiscoveredComputer parameter.

PS C:\PS> $fix = Get-VBRDiscoveredComputerUpdate -Id "188235"

PS C:\PS> Set-VBRDiscoveredComputerUpdate -Update $fix -PassThru

Id                      : 188235

AgentType               : Windows

AgentVersion            : 2.1.10.304

OperatingSystemPlatform : Unknown

OperatingSystemVersion  :

Path                    : C:\Program Files\Veeam\Veeam Distribution Service\Fixes\VAW\kb.188235

AppliedTo               : {}

Name                    : VAW.kb.188235.exe

Related Commands

Get-VBRProtectionGroup

Get-VBRDiscoveredComputer

Get-VBRDiscoveredComputerUpdate

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation