Remove-VSBSession (obsolete)

Short Description

Removes a specified SureBackup job session from Veeam Backup & Replication.

Note

This cmdlet is obsolete and not supported.

Platform: VMware, Hyper-V

Syntax

Remove-VSBSession [-Sessions] <CSbSession[]> [-WhatIf] [-Confirm] [<CommonParameters>]

Detailed Description

This cmdlet removes a specified SureBackup job session from Veeam Backup & Replication.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Sessions

Specifies the SureBackup job session you want to remove.

You can assign multiple sessions to this object.

Accepts the CSbSession[] object. To get this object, run the Get-VSBSessionReturns SureBackup sessions that have been run. This cmdlet is obsolete. The cmdlet will still work but may not be supported in further versions. cmdlet.

CSbSession[]

True

0

True (ByPropertyName, ByValue)

Confirm

Defines that the cmdlet will display a prompt that asks if you want to continue running the command.

SwitchParameter

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.

SwitchParameter

False

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Examples

Remove-VSBSession (obsolete)Example 1. Removing Selected SureBackup Sessions [Using Pipeline]

This example shows how to remove the Winserver SureJob and Mailserver SureJob SureBackup sessions.

Get-VSBSession -Name "Winserver SureJob", "Mailserver SureJob" | Remove-VSBSession

Perform the following steps:

  1. Run the Get-VSBSessionReturns SureBackup sessions that have been run. This cmdlet is obsolete. The cmdlet will still work but may not be supported in further versions. cmdlet. Specify the Name parameter value.
  2. Pipe the cmdlet output to the Remove-VSBSession cmdlet.

Remove-VSBSession (obsolete)Example 2. Removing Selected SureBackup Sessions [Using Variable]

This example shows how to remove the Winserver SureJob and Mailserver SureJob SureBackup sessions.

$suresession = Get-VSBSession -Name "Winserver SureJob", "Mailserver SureJob"

Remove-VSBSession -Sessions $suresession

Perform the following steps:

  1. Run the Get-VSBSessionReturns SureBackup sessions that have been run. This cmdlet is obsolete. The cmdlet will still work but may not be supported in further versions. cmdlet. Specify the Name parameter value. Save the result to the $suresession variable.
  2. Run the Remove-VSBSession cmdlet. Set the $suresession as the Sessions parameter value.

Get-VSBSessionReturns SureBackup sessions that have been run. This cmdlet is obsolete. The cmdlet will still work but may not be supported in further versions.

Page updated 2026-08-19

Page content applies to build 13.1.1.18