Enable-VBRJobSchedule
Short Description
Enables job schedule.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Enable-VBRJobSchedule -Job <CBackupJob[]> [-WarningAction <ActionPreference>][-WarningVariable <String>][<CommonParameters>] |
Detailed Description
This cmdlet enables job schedule.
You can enable the job schedule in case you have the schedule configured for this job. Use this cmdlet to enable the job schedule that was disabled with Disable-VBRJobSchedule.
You can run this cmdlet with any kind of jobs.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Job | Specifies the array of jobs. The cmdlet will enable 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 enables the schedule for jobs named "Backup Job 01" and "File Copy Job 02". The jobs are obtained with Get-VBRJob and piped down.
Example 2
This command enables the schedule for job represented by the $BackupJob01 variable. The job object is obtained with Get-VBRJob and assigned to the variable beforehand.
Related Commands