Disable-VBREPJob
Short Description
Disables backup jobs run by Veeam Agent operating in a standalone mode.
Syntax
Disable-VBREPJob -Job <VBREPJob[]> [<CommonParameters>] |
Detailed Description
This cmdlet disables backup jobs run by Veeam Agent operating in a standalone mode.
When you disable a job, you temporarily put it on hold. The job and its settings are not deleted from Veeam Backup & Replication.
Run the Enable-VBREPJob cmdlet to enable a disabled job.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Job | Specifies the array of backup jobs. The cmdlet will disable these jobs. | Accepts the VBREPJob object. To get this object, run the Get-VBREPJob cmdlet. | True | Named | True (ByValue, |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBREPJob[]
Examples
Example 1. Disabling Backup Job Run by Veeam Agent in Standalone Mode [Using Variable]
This example shows how to disable a backup job run by Veeam Agent operating in a standalone mode using a variable.
Perform the following steps:
|
Example 2. Disabling Backup Job Run by Veeam Agent in Standalone Mode [Using Pipeline]
This example shows how to disable a backup job run by Veeam Agent operating in a standalone mode using a pipeline.
Perform the following steps:
|
Related Commands