Short Description
Enables a disabled job.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Enable-VBRJob -Job <CBackupJob[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>] a[<CommonParameters>] |
Detailed Description
This cmdlet enables a disabled job. When you disable a job, you put it on hold until you enable it with this cmdlet. Run Disable-VBRJob.to disable the job.
You can run this cmdlet with the following types of jobs:
- Backup jobs
- Replication jobs
- Copy jobs
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Job | Specifies the array of jobs you want to enable. | True | Named | True (ByValue, | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example
This example shows how to enable a job.
You will need to perform the following steps:
- Run Get-VBRJob to get the job. Save the result to the $backupjob variable.
- Run Enable-VBRJob with the $backupjob variable.
PS C:\PS> $backupjob = Get-VBRJob -Name "Backup Job 01" PS C:\PS> Enable-VBRJob -Job $backupjob |
Related Commands