Disable-VBRJobSchedule
Short Description
Disables job schedule.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Disable-VBRJobSchedule -Job <CBackupJob[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>][<CommonParameters>] |
Detailed Description
This cmdlet disables job schedule. The schedule settings are not deleted.
When you disable a job schedule, you can launch the job manually. Run Start-VBRJob to start the job once.
You can run this cmdlet with backup, replication and copy jobs.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Job | Specifies the array of jobs. The cmdlet will disable schedule in these jobs. | True | Named | True (ByValue, | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Example 1
This command disables the job named "Backup Job 01". The job object is obtained with Get-VBRJob and piped down.
Example 2
This command disables the job represented by the $job variable. The job object is obtained with Get-VBRJob and assigned to the variable beforehand.
Related Commands