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 Veeam Agent for Microsoft Windows jobs.

Syntax

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

Detailed Description

This cmdlet enables Veeam Agent for Microsoft Windows jobs that were previously disabled.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Job

Specifies the array of Veeam Agent for Microsoft Windows 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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBREPJob[]

Example 1

This example shows how to enable a job 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 job 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