Disable-VBRJobSchedule
Short Description
Disables job schedule.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Disable-VBRJobSchedule -Job <CBackupJob[]> [<CommonParameters>] |
Detailed Description
This cmdlet disables job schedule. The schedule settings are not deleted. You can run this cmdlet with backup, replication and copy jobs.
Run the Start-VBRJob cmdlet to start the job once.
Run the Enable-VBRJobSchedule cmdlet to enable job schedule.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept |
|---|---|---|---|---|---|
|
Job |
Specifies the array of jobs. The cmdlet will disable schedule in these jobs. |
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 Job [Using Pipeline]
|
This example shows how to disable the Backup Job 01 job.
Perform the following steps:
|
Example 2. Disabling Job Represented by Variable
|
This example shows how to disable the job represented by the $job variable.
Perform the following steps:
|
Related Commands