Disable-VBOJob
Short Description
Temporarily disables a backup job.
Syntax
|
Disable-VBOJob -Job <VBOJob> [<CommonParameters>] |
Detailed Description
This cmdlet temporarily disables the specified backup job. The backup job and its settings will remain in Veeam Backup for Microsoft 365. You can enable the job at any time by running the Enable-VBOJobEnables a backup job. cmdlet.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Job |
Specifies a backup job that you want to disable.
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
Disabling Backup Job
This example shows how to disable a backup job.
|
$job = Get-VBOJob -Name "ABC Backup" Disable-VBOJob -Job $job |
Perform the following steps:
- Run the
Get-VBOJobReturns backup jobs. cmdlet to get the backup job that you want to disable. Save the result to the$jobvariable. - Run the
Disable-VBOJobcmdlet with the$jobvariable.
Related Commands
Get-VBOJobReturns backup jobs.Enable-VBOJobEnables a backup job.