Disable-VBREPJob

In this article

    Short Description

    Disables backup jobs run by Veeam Agent operating in a standalone mode.

    Syntax

    Disable-VBREPJob -Job <VBREPJob[]>  [<CommonParameters>]

    Detailed Description

    This cmdlet disables backup jobs run by Veeam Agent operating in a standalone mode.

    When you disable a job, you temporarily put it on hold. The job and its settings are not deleted from Veeam Backup & Replication.

    Run Enable-VBREPJob to enable a disabled job.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Job

    Specifies the array of backup jobs. The cmdlet will disable these jobs.

    Accepts VBREPJob type.

    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.

    Return Type

    VBREPJob[]

    Example 1

    This example shows how to disable a backup job run by Veeam Agent operating in a standalone mode using a variable.

    1. Run Get-VBREPJob to get the job and save it to the $job variable.
    2. Run Disable-VBREPJob with the $job variable.

    $job = Get-VBREPJob -Name "Backup Job Mediaserver"

    Disable-VBREPJob -Job $job

    Example 2

    This example shows how to disable a backup job run by Veeam Agent operating in a standalone mode using a pipeline.

    Run Get-VBREPJob to get the job and pipe it to the Disable-VBREPJob.

    Get-VBREPJob -Name "Backup Job Mediaserver" | Disable-VBREPJob

    Related Commands

    Get-VBREPJob