Disable-VBREPJob

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 the Enable-VBREPJob cmdlet to enable a disabled job.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Job

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

Accepts the VBREPJob object. To get this object, run the Get-VBREPJob cmdlet.

True

Named

True (ByValue,
ByProperty
Name)

<CommonParameters>

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

Output Object

VBREPJob[]

Examples

Disable-VBREPJobExample 1. Disabling Backup Job Run by Veeam Agent in Standalone Mode [Using Variable]

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

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

Disable-VBREPJob -Job $job

Perform the following steps:

  1. Run the Get-VBREPJob cmdlet. Specify the Name parameter value. Save it to the $job variable.
  2. Run the Disable-VBREPJob cmdlet. Set the $job variable as the Job parameter value.

Disable-VBREPJobExample 2. Disabling Backup Job Run by Veeam Agent in Standalone Mode [Using Pipeline]

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

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

Perform the following steps:

  1. Run the Get-VBREPJob cmdlet. Specify the Name parameter value.
  2. Pipe the cmdlet output to the Disable-VBREPJob cmdlet.

Related Commands

Get-VBREPJob

Page updated 1/5/2024

Page content applies to build 12.3.0.310