Disable-VBRComputerBackupJob
Short Description
Disables Veeam Agent backup jobs and Veeam Agent backup policies.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Disable-VBRComputerBackupJob [-Job] <VBRComputerBackupJob[]> [-PassThru] [<CommonParameters>] |
Detailed Description
This cmdlet disables Veeam Agent backup jobs and Veeam Agent backup policies.
Run the Enable-VBRComputerBackupJobEnables Veeam Agent backup jobs and Veeam Agent backup policies. cmdlet to enable Veeam Agent backup jobs and Veeam Agent backup policies.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Job |
Specifies a Veeam Agent backup job or a Veeam Agent backup policy that you want to disable.
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
PassThru |
Defines that the command returns the output object to the Windows PowerShell console. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
This cmdlet returns the VBRComputerBackupJob object that contains settings of disabled Veeam Agent backup jobs and Veeam Agent backup policies.
Examples
Disabling Veeam Agent backup Job
This example shows how to disable the WinSrv2049 Veeam Agent Backup Job.
|
$job = Get-VBRComputerBackupJob -Name "WinSrv2049" Disable-VBRComputerBackupJob -Job $job |
Perform the following steps:
- Run the
Get-VBRComputerBackupJobReturns Veeam Agent backup jobs and Veeam Agent backup policies. cmdlet. Specify theNameparameter value. Save the result to the$jobvariable. - Run the
Disable-VBRComputerBackupJobcmdlet. Set the$jobvariable as theJobparameter value.
Related Commands
Get-VBRComputerBackupJobReturns Veeam Agent backup jobs and Veeam Agent backup policies.