Enable-VBOJob

In this article

    Short Description

    Enables backup jobs.

    Syntax

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

    Detailed Description

    This cmdlet enables a disabled backup 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 job that you want to enable.

    Accepts the VBOJob object.

    To get this object, run the Get-VBOJob 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

    Example 1. Enabling Backup Job

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

    $job = Get-VBOJob -Name "ABC Backup"

    Enable-VBOJob -Job $job

    Perform the following steps:

    1. Run the Get-VBOJob cmdlet to get the backup job you want to enable. Save the result to the $job variable.
    2. Run the Enable-VBOJob cmdlet with the $job variable.

    Related Commands

    Get-VBOJob