This is an archive version of the document. To get the most up-to-date information, see the current version.

New-VBRProtectionGroupDeploymentOptions

Short Description

Creates Veeam Agent deployment settings.

Applies to

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

New-VBRProtectionGroupDeploymentOptions [-DistributionServer <CHost>] [-InstallAgent] [-UpgradeAutomatically] [-InstallDriver] [-RebootIfRequired]  [<CommonParameters>]

Detailed Description

The cmdlet creates the VBRProtectionGroupDeploymentOptions object containing Veeam Agent deployment settings. Per these settings, you can instruct Veeam Backup & Replication to automatically install and upgrade Veeam Agents on discovered computers.

To apply deployment settings to a protection group, run Set-VBRProtectionGroup.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

DistributionServer

Specifies a distribution server. The cmdlet will instruct Veeam Backup & Replication to use this server to upload Veeam Agent setup files and private fixes to computers added to the protection group.

Accepts servers added to Veeam Backup & Replication.

False

Named

True (ByValue,
ByProperty
Name)

False

InstallAgent

Indicates that Veeam Backup & Replication will automatically install Veeam Agents on all discovered computers of the protection group.

False

Named

True (ByProperty
Name)

False

Upgrade
Automatically

Indicates that Veeam Backup & Replication will automatically upgrade Veeam Agents on discovered computers when the new Veeam Agent version or private fix appears on the distribution server.

False

Named

True (ByProperty
Name)

False

InstallDriver

Used only for Veeam Agent for Microsoft Windows.

Indicates that Veeam Backup & Replication will automatically install the CBT driver on discovered computers.

False

Named

True (ByProperty
Name)

False

RebootIfRequired

Indicates that Veeam Backup & Replication will reboot discovered computers if required.

NOTE: Reboot is required after the CBT driver installation.

False

Named

True (ByProperty
Name)

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

VBRProtectionGroupDeploymentOptions

Example 1

This example shows how to create an object containing the following Veeam Agent deployment settings:

  • Veeam Agents will be installed automatically on discovered computers.
  • Veeam Agents will be upgraded automatically to the version of Veeam Agent on the distribution server.

You will need to perform the following steps:

  1. Get the server added to Veeam Backup & Replication. This server will be used as a distribution server. To get the server, run Get-VBRServer. Save the result to the $server variable.
  2. Create an object with the Veeam Agent deployment settings. To do this, run New-VBRProtectionGroupDeploymentOptions with the $server variable, InstallAgent and UpgradeAutomatically parameters.

$server = Get-VBRServer -Name support.east.local

New-VBRProtectionGroupDeploymentOptions -DistributionServer $server -InstallAgent -UpgradeAutomatically

Example 2

This example shows how to apply Veeam Agent deployment settings to a protection group. Per these settings, Veeam Backup & Replication will automatically install Veeam Agents on discovered computers and automatically upgrade them.

You will need to perform the following steps:

  1. Create an object with Veeam Agent deployment settings. To do this, perform the following steps:
  1. Run Get-VBRServer to get the distribution server. Save the result to the $server variable.
  2. Run New-VBRProtectionGroupDeploymentOptions with the $server variable, InstallAgent and UpgradeAutomatically parameters. Save the result to the $deployment variable.
  1. Apply Veeam Agent deployment settings to a protection group. To do this, perform the following steps:
  1. Run Get-VBRProtectionGroup to get a protection group to which you want to apply Veeam Agent deployment settings. Save the result to the $group variable.
  2. Run Set-VBRProtectionGroup with the $group and $deployment variables.

$server = Get-VBRServer -Name support.east.local

$deployment = New-VBRProtectionGroupDeploymentOptions -DistributionServer $server -InstallAgent -UpgradeAutomatically

$group = Get-VBRProtectionGroup -Name "East Computers"

Set-VBRProtectionGroup -ProtectionGroup $group -DeploymentOptions $deployment

Related Commands

Get-VBRServer

Get-VBRProtectionGroup

Set-VBRProtectionGroup

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.