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

Type

Required

Position

Accept
Pipeline
Input

Job

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

Accepts the VBREPJob object. To get this object, run the Get-VBREPJob cmdlet.

True

Named

True (ByValue,
ByProperty
Name)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBREPJob[]

Examples

Enable-VBREPJobExample 1. Enabling Backup Job Run by Veeam Agent in Standalone Mode [Using Variable]

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

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

Enable-VBREPJob -Job $job

Perform the following steps:

  1. Run the Get-VBREPJob cmdlet. Specify the Name parameter value. Save it to the $job variable.
  2. Run the Enable-VBREPJob cmdlet. Set the $job variable as the Job parameter value.

Enable-VBREPJobExample 2. Enabling Backup Job Run by Veeam Agent in Standalone Mode [Using Pipeline]

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

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

Perform the following steps:

  1. Run the Get-VBREPJob cmdlet. Specify the Name parameter value.
  2. Pipe the cmdlet output to the Enable-VBREPJob cmdlet.

Related Commands

Get-VBREPJob