Reset-VBRJobScheduleOptions

In this article

    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> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<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

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Job

    Specifies the job you want to edit.

    True

    Named

    True (ByValue,
    ByProperty
    Name)

    True

    <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 sets default schedule options to backup jobs named "Fileserver Backup Job" and "Fileserver Copy Job". The jobs object is obtained with Get-VBRJob and piped down.

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

    Example 2

    This command sets default schedule options to the job represented by the $job variable. The job object is obtained with Get-VBRJob and assigned to the variable beforehand.

    Reset-VBRJobScheduleOptions -Job $job

    Related Commands

    Get-VBRJob