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 Endpoint job.

Syntax

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

Related Commands

None

Return Type

VBREPJob[]

Detailed Description

This cmdlet disables a Veeam Endpoint backup job.

When you disable a job, you temporarily put it on hold. The job and its settings are not deleted from Veeam Backup & Replication. You can enable the job at any time by running Enable-VBREPJob.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Job

Specifies the name of the Endpoint backup job you want to disable.

You can assign multiple names to this object.

True

Named

True (by Value
FromPipeline,
ValueFromPipeline
ByPropertyName)

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 1

This command disables an Endpoint job represented by the '$MediaserverEP' variable. The job is obtained with Get-VBREPJob and assigned to the variable beforehand.

PS C:\PS> $MediaserverEP = Get-VBREPJob -Name 'Backup Job Mediaserver'

PS C:\PS> Disable-VBREPJob -Job $MediaserverEP

Example 2

This command disables an Endpoint job named 'Backup Job Mediaserver'. The job is obtained with Get-VBREPJob and piped down.

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