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:
|
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 |
---|---|---|---|---|---|
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 |
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
Example 1. Applying Custom Settings to Specific Backup Job [Using Pipeline]
This example shows how to apply custom settings to the backup job named Backup Job 01.
Perform the following steps:
|
Example 2. Applying Custom Settings to Backup Job [Using Variable]
This example shows how to apply custom settings to the backup job represented by the $job variable.
Perform the following steps:
|
Related Commands