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
To get this object, run the |
True |
Named |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Examples
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-VBOJobReturns backup jobs. cmdlet to get the backup job that you want to enable. Save the result to the$jobvariable. - Run the
Enable-VBOJobcmdlet with the$jobvariable.
Related Commands
Get-VBOJobReturns backup jobs.