Remove-VBOCopyJob
Short Description
Removes backup copy jobs.
Syntax
|
Remove-VBOCopyJob -Job <VBOCopyJob> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes a backup copy job from Veeam Backup for Microsoft 365.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Job |
Specifies a backup copy job that you want to remove.
Accepts the
To get this object, run the |
True |
Named |
True (ByValue) |
|
|
Confirm |
Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue. Default: True |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. Default: False |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Examples
Removing Backup Copy Job
This example shows how to remove a backup copy job.
|
$copyjob = Get-VBOCopyJob -Id 8b6b539e-15cc-4ed6-bd1d-b8c7c918f413 Remove-VBOCopyJob -Job $copyjob |
Perform the following steps:
- Run the
Get-VBOCopyJobReturns backup copy jobs. cmdlet. Specify theIdparameter value. Save the result to the$copyjobvariable. - Run the
Remove-VBOCopyJobcmdlet. Set the$copyjobvariable as theJobparameter value.
Related Commands
Get-VBOCopyJobReturns backup copy jobs.