Set-VBRJobOptions

Short Description

Modifies job settings.

Applies to

Platform: VMware, Hyper-V

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

Syntax

Set-VBRJobOptions -Job <CBackupJob[]> [-Options <CJobOptions>] [-HighPriority]  [<CommonParameters>]

Detailed Description

This cmdlet applies customized settings to a selected job.

Run the New-VBRJobOptions cmdlet to create the CJobOptions object. This object unifies all the options you want to apply to the job.

Important

Consider the following:

  • The Set-VBRJobOptions cmdlet is deprecated for Veeam Agent jobs and policies. Run the Set-VBRComputerBackupJob cmdlet instead.
  • The Set-VBRJobOptions cmdlet is deprecated for backup copy jobs. Run the Set-VBRBackupCopyJob cmdlet instead.

Note

To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Job

Specifies the job you want to edit.

Accepts the CBackupJob object. To create this object, run the Get-VBRJob cmdlet.

True

0

True (ByProperty
Name, ByValue)

Options

Specifies the set of parameters you want to apply to the job.

Accepts the CJobOptions object. To create this object, run the New-VBRJobOptions cmdlet.

False

1

False

HighPriority

Defines that Veeam Backup & Replication will prioritize this job higher than other similar jobs and allocate resources to it first.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Examples

Set-VBRJobOptionsExample 1. Applying Custom Settings to Specific Backup Job [Using Pipeline]

Set-VBRJobOptionsExample 2. Applying Custom Settings to Backup Job [Using Variable]

Related Commands

Page updated 8/14/2024

Page content applies to build 12.3.1.1139