Reset-VBRJobScheduleOptions

Short Description

Applies default schedule settings to jobs.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Reset-VBRJobScheduleOptions -Job <CBackupJob>  [<CommonParameters>]

Detailed Description

This cmdlet removes custom schedule settings of a specified job and restores its default values.

You can run this cmdlet with any kind of jobs.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Job

Specifies the job you want to edit.

Accepts the CBackupJob object. To create this object, run the Get-VBRJob cmdlet.

True

Named

True (ByProperty
Name, ByValue)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Examples

Reset-VBRJobScheduleOptionsExample 1. Setting Default Schedule Options to Jobs [Using Pipeline]

This example shows how to set default schedule options to Fileserver Backup Job and Fileserver Copy Job backup jobs.

Get-VBRJob -Name "Fileserver Backup Job", "Fileserver Copy Job" | Reset-VBRJobScheduleOptions

Perform the following steps:

  1. Run the Get-VBRJob cmdlet. Specify the Name parameter value.
  2. Pipe the cmdlet output to the Reset-VBRJobScheduleOptions cmdlet.

Reset-VBRJobScheduleOptionsExample 2. Setting Default Schedule Options [Using Variable]

This example shows how to set default schedule options to the job represented by the $job variable.

$job = Get-VBRJob -Name "Fileserver Copy Job"

Reset-VBRJobScheduleOptions -Job $job

Perform the following steps:

  1. Run the Get-VBRJob cmdlet. Specify the Name parameter value. Save the result to the $job variable.
  2. Run the Reset-VBRJobScheduleOptions cmdlet. Set the $job variable as the Job parameter value.

Related Commands

Get-VBRJob

Page updated 6/12/2024

Page content applies to build 12.2.0.334