Short Description
Removes existing jobs.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Remove-VBRJob [-Job] <CBackupJob[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes the following types of jobs from Veeam Backup & Replication console and database:
- Backup jobs
- Replication jobs
- Copy jobs
|
Run Remove-VSBJob to remove SureBackup jobs. |
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Job | Specifies the array of jobs you want to remove. | True | 1 | True (ByValue, | False |
WhatIf | Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. | False | Named | False | False |
Confirm | Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example
This example shows how to remove jobs.
You will need to perform the following steps:
- Run Get-VBRJob to get the list of the jobs, which start with "File Copy". Save the result to the $copyjobs variable.
- Run Remove-VBRJob with the $copyjobs variable.
PS C:\PS> $copyjobs = Get-VBRJob -Name "File Copy*" PS C:\PS> Remove-VBRJob -Job $copyjobs |
Related Commands