Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Disable-VBREPJob

Short Description

Disables Endpoint jobs.

Syntax

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

Detailed Description

This cmdlet disables Endpoint 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 Endpoint 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.

PS C:\PS> $job = Get-VBREPJob -Name "Backup Job Mediaserver"

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

PS C:\PS> Get-VBREPJob -Name "Backup Job Mediaserver" | Disable-VBREPJob

Related Commands

Get-VBREPJob

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation