Short Description
Puts a selected job on hold.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Disable-VBRJob -Job <CBackupJob[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Detailed Description
This cmdlet puts a selected job on hold. The job and the job settings are not deleted from Veeam Backup & Replication console and database.
You can run this cmdlet with the following types of jobs:
- Backup jobs
- Replication jobs
- Copy jobs
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Job | Specifies the array of jobs you want to disable. | True | Named | True (ByValue, | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example
This example shows how to disable a job.
You will need to perform the following steps:
- Run Get-VBRJob to get the job. Save the result to the $backupjob variable.
- Run Disable-VBRJob with the $backupjob variable.
PS C:\PS> $backupjob = Get-VBRJob -Name "Backup Job 01" PS C:\PS> Disable-VBRJob -Job $backupjob |
Related Commands