Enable-VBOCopyJob

Short Description

Enables backup copy jobs.

Syntax

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

Detailed Description

This cmdlet enables a disabled backup copy job. When you disable a job, you put it on hold until you enable it with this cmdlet.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Job

Specifies a backup copy job that you want to enable.

Accepts the VBOCopyJob object.

To get this object, run the Get-VBOCopyJob cmdlet.

True

Named

True (ByValue)

False

<CommonParameters>

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

Output Object

None.

Examples

Enable-VBOCopyJobExample 1. Enabling Backup Copy Job

This example shows how to enable the temporarily disabled backup copy job.

$copyjob = Get-VBOCopyJob -Id 8b6b539e-15cc-4ed6-bd1d-b8c7c918f413

Enable-VBOCopyJob -Job $copyjob

Perform the following steps:

  1. Run the Get-VBOCopyJob cmdlet. Specify the Id parameter value. Save the result to the $copyjob variable.
  2. Run the Enable-VBOCopyJob cmdlet. Set the $copyjob variable as the Job parameter value.

Related Commands

Get-VBOCopyJob