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

Enable-VBREPJob

Short Description

Enables disabled backup jobs run by Veeam Agent operating in a standalone mode.

Syntax

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

Detailed Description

This cmdlet enables backup jobs run by Veeam Agent operating in a standalone mode that were previously disabled.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Job

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

Accepts VBREPJob type.

True

Named

True (ByValue,
ByProperty
Name)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

VBREPJob[]

Example 1

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

  1. Run Get-VBREPJob to get the job and save it to the $job variable.
  2. Run Enable-VBREPJob with the $job variable.

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

Enable-VBREPJob -Job $job

Example 2

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

Run Get-VBREPJob to get the job and pipe it to the Enable-VBREPJob.

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

Related Commands

Get-VBREPJob