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>]

Related Commands

Get-VBRJob

Detailed Description

This cmdlet enables job schedule.

You can enable the job schedule in case you have the schedule set beforehand. 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 job(s) you want to edit.

You can assign multiple jobs to this object.

True

Named

True (ByValue,
ByProperty
Name)

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 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.

PS C:\PS> Get-VBRJob -Name "Backup Job 01", "File Copy Job 02" | Enable-VBRJobSchedule

Example 2

This command enables the schedule for job represented by the $"Backup Job 01" variable. The job object is obtained with Get-VBRJob and assigned to the variable beforehand.

PS C:\PS> Enable-VBRJobSchedule -Job $"Backup Job 01"