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

Reset-VBRJobScheduleOptions

In this article

    Short Description

    Sets job schedule settings to default.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus

    Syntax

    Reset-VBRJobScheduleOptions -Job <CBackupJob> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    Related Commands

    Get-VBRJob

    Detailed Description

    This cmdlet sets the default scheduling options to the selected job. When you clear the schedulling options of a job, you need to run the job manually.

    You can run this cmdlet with any kind of jobs.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Job

    Specifies job you want to edit.

    True

    Named

    True (ByValue,
    ByProperty
    Name)

    True

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

    PS C:\PS> 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.

    PS C:\PS> Reset-VBRJobScheduleOptions -Job $job