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

Disable-VBRJob

Short Description

Puts a selected job on hold.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

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

Detailed Description

This cmdlet puts a selected job on hold. The job and the job settings are not deleted from Veeam Backup & Replication console and database.

You can run this cmdlet with the following types of jobs:

  • Backup jobs
  • Replication jobs
  • Copy jobs

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Job

Specifies the array of jobs you want to disable.

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

This example shows how to disable a job.

You will need to perform the following steps:

  1. Run Get-VBRJob to get the job. Save the result to the $backupjob variable.
  2. Run Disable-VBRJob with the $backupjob variable.

PS C:\PS> $backupjob = Get-VBRJob -Name "Backup Job 01"

PS C:\PS> Disable-VBRJob -Job $backupjob

Related Commands

Get-VBRJob

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Backup Explorers User Guide

Backup and Restore of SQL Server Databases

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide