Disable-VBRJob
Short Description
Puts a selected job on hold.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Disable-VBRJob -Job <CBackupJob[]> [<CommonParameters>] |
Detailed Description
This cmdlet disables an enabled job. The job and its settings are not deleted from Veeam Backup & Replication. You can run this cmdlet with backup, replication and copy jobs.
Run the Enable-VBRJob cmdlet to enable the job.
Run the Stop-VBRJob cmdlet to stop the job once without disabling it.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Job | Specifies the array of jobs you want to disable. | Accepts the CBackupJob object. To create this object, run the Get-VBRJob cmdlet. | True | Named | True (ByProperty |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Example 1. Disabling Specific Jobs [Using Pipeline]
This example shows how to disable jobs named Backup Job 01 and Backup Job 02.
Perform the following steps:
|
Example 2. Disabling Specific Job [Using Variable]
This example shows how to disable the job represented by the $job variable.
Perform the following steps:
|
Related Commands