This is an archive version of the document. To get the most up-to-date information, see the current version.

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
Pipeline
Input

Accept
Wildcard
Characters

Job

Specifies the array of jobs. The cmdlet will enable schedule in these jobs.

True

Named

True (ByValue,
ByProperty
Name)

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.

Get-VBRJob -Name "Backup Job 01", "File Copy Job 02" | Enable-VBRJobSchedule

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.

Enable-VBRJobSchedule -Job $BackupJob01

Related Commands

Get-VBRJob