Enable-VBOJob
Short Description
Enables a backup job.
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 |
---|---|---|---|---|---|
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) |
<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.
Example
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:
- Run the Get-VBOJob cmdlet to get the backup job that you want to enable. Save the result to the $job variable.
- Run the Enable-VBOJob cmdlet with the $job variable.
Related Commands