Disable-VBRBackupCopyJob
Short Description
Disables backup copy jobs.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Disable-VBRBackupCopyJob [-Job] <VBRBackupCopyJob[]> [-PassThru] [<CommonParameters>] |
Detailed Description
This cmdlet disables backup copy jobs.
Run the Enable-VBRBackupCopyJobEnables backup copy jobs. cmdlet to enable backup copy jobs.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Job |
Specifies an array of backup copy jobs 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.
Examples
Disabling Backup Copy Job
This example shows how to disable a backup copy job.
|
$job = Get-VBRBackupCopyJob Disable-VBRBackupCopyJob -Job $job |
Perform the following steps:
- Run the
Get-VBRBackupCopyJobReturns backup copy jobs. cmdlet. Save the result to the$jobvariable. - Run the
Disable-VBRBackupCopyJobcmdlet. Set the$jobvariable as theJobparameter value.
Related Commands
Get-VBRBackupCopyJobReturns backup copy jobs.