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

Disable-VBRJobSchedule

In this article

    Short Description

    Disables job schedule.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Standard, Enterprise, Enterprise Plus

    Syntax

    Disable-VBRJobSchedule -Job <CBackupJob[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>][<CommonParameters>]

    Related Commands

    Get-VBRJob

    Detailed Description

    This cmdlet disables job schedule. The schedule settings are not deleted. When you disable a job schedule, you can launch the job manually by running Start-VBRJob.

    You can run this cmdlet with backup, replication and copy jobs.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Job

    Specifies the job(s) you want to disable.

    You can assign multiple backup 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 disables the job named "Backup Job 01". The job object is obtained with Get-VBRJob and piped down.

    PS C:\PS> Get-VBRJob -Name "Backup Job 01" | Disable-VBRJobSchedule

    Example 2

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

    PS C:\PS> Disable-VBRJobSchedule -Job $job