Remove-VBOJob
Short Description
Removes backup jobs.
Syntax
|
Remove-VBOJob -Job <VBOJob> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes a backup job from Veeam Backup for Microsoft 365.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Job |
Specifies a backup 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 Job
This example shows how to remove a backup job without prompting a user whether he wants to continue.
|
$job = Get-VBOJob -Name "ABC Backup" Remove-VBOJob -Job $job -Confirm:$false |
Perform the following steps:
- Run the
Get-VBOJobReturns backup jobs. cmdlet. Specify theNameparameter value. Save the result to the$jobvariable. - Run the
Remove-VBOJobcmdlet. Set the$jobvariable as theJobparameter value. Set thefalsevalue for theConfirmparameter.
Related Commands
Get-VBOJobReturns backup jobs.