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

Disable-VBREPJob

Short Description

Disables Veeam Agent for Microsoft Windows jobs.

Syntax

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

Detailed Description

This cmdlet disables Veeam Agent for Microsoft Windows jobs.

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 Veeam Agent for Microsoft Windows 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 job 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 job 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