Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Remove-VSBSession (obsolete)

Short Description

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

Remove-VSBSession (obsolete) Note:

This cmdlet is obsolete. The cmdlet will still work but may not be supported in further versions.

Applies to

Platform: VMware, Hyper-V

Syntax

Remove-VSBSession [-Sessions] <CSbSession[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Detailed Description

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

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Sessions

Specifies the SureBackup job session you want to remove.

You can assign multiple sessions to this object.

True

1

True (ByValue,
ByProperty
Name)

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 1

This command removes the SureBackup sessions named "Winserver SureJob" and "Mailserver SureJob". The SureBackup sessions are obtained with Get-VSBSession and piped down.

PS C:\PS> Get-VSBSession -Name "Winserver SureJob", "Mailserver SureJob" | Remove-VSBSession

Example 2

This command removes the SureBackup job session represented by the $suresession variable. The SureBackup job session is obtained with Get-VSBSession and assigned to the variable beforehand.

PS C:\PS> Remove-VSBSession -Sessions $suresession

Related Commands

Get-VSBSession

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation