Set-VBRDiscoveredComputerUpdate

In this article

    Short Description

    Assigns Veeam Agent private fixes to discovered computers.

    Applies to

    Product Edition: Community, Standard,  Enterprise, Enterprise Plus, Veeam Universal 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

    DiscoveredComputer

    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.

    $group = Get-VBRProtectionGroup -Name "Support_East"

    $discovered = Get-VBRDiscoveredComputer -ProtectionGroup $group

    $fix = Get-VBRDiscoveredComputerUpdate -Id "188235"

    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.

    $fix = Get-VBRDiscoveredComputerUpdate -Id "188235"

    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