Update-VBRServerComponent

Short Description

Upgrades all components on managed servers.

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

Syntax

Update-VBRServerComponent [-Component <VBRPhysicalHost[]>] [-RunAsync]  [<CommonParameters>]

Detailed Description

This cmdlet upgrades all components on managed servers that are added to the backup infrastructure.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Component

Specifies an array of managed servers. The cmlet will upgrade all components on these servers.

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

False

Named

True (ByValue,
ByProperty
Name)

RunAsync

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

SwitchParameter

False

Named

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

Examples

Update-VBRServerComponentExample 1. Uprgading all Servers Added to Backup Infrastructure

this command upgrades all managed servers that are added to the backup infrastructure.

Update-VBRServerComponent

Update-VBRServerComponentExample 2. Upgrading Servers that Require Update

This example shows how to upgrade only those managed servers whose components require update.

$servers = Get-VBRPhysicalHost -UpdateRequired

Update-VBRServerComponent -Component $servers

Perform the following steps:

  1. Run the Get-VBRPhysicalHost cmdlet. Provide the UpdateRequired parameter. Save the result to the $servers variable.
  2. Run the Update-VBRServerComponent cmdlet. Set the $servers variable as the Component parameter value.

Related Commands

Get-VBRPhysicalHost