This is an archive version of the document. To get the most up-to-date information, see the current version.

Remove-VBRSureBackupJob

Short Description

Removes SureBackup jobs.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Remove-VBRSureBackupJob -Job <VBRSureBackupJob[]> [-WhatIf] [-Confirm]  [<CommonParameters>]

Detailed Description

This cmdlet removes SureBackup jobs from the Veeam Backup & Replication infrastructure.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Job

Specifies an array of SureBackup jobs. The cmdlet will remove these jobs from the Veeam Backup & Replication infrastructure.

Accepts the VBRSureBackupJob[] object. To create this object, run the Get-VBRSureBackupJob cmdlet.

True

Named

True (ByValue,
ByProperty
Name)

WhatIf

Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action.

SwitchParamter

False

Named

False

Confirm

Defines that the cmdlet will display a prompt that asks if the user is sure that he wants to continue.

SwitchParamter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Examples

Example 1. Removing All SureBackup Jobs

This example shows how to remove all SureBackup jobs from the Veeam Backup & Replication infrastructure.

$job = Get-VBRSureBackupJob

Remove-VBRSureBackupJob -Job $job

Perform the following steps:

  1. Run the Get-VBRSureBackupJob cmdlet. Specify the Name parameter value. Save the result to the $job variable.
  2. Run the Remove-VBRSureBackupJob cmdlet. Set the $job variable as the Job parameter value.

Example 2. Removing Specific SureBackup Jobs

This example shows how to remove the SureJob 2 SureBackup jobs from the Veeam Backup & Replication infrastructure.

$job = Get-VBRSureBackupJob -Name "SureJob 2"

Remove-VBRSureBackupJob -Job $job

Perform the following steps:

  1. Run the Get-VBRSureBackupJob cmdlet. Specify the Name parameter value. Save the result to the $job variable.
  2. Run the Remove-VBRSureBackupJob cmdlet. Set the $job variable as the Job parameter value.

Related Commands

Get-VBRSureBackupJob