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

Remove-VSBSession (obsolete)

In this article

    Short Description

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

    Remove-VSBSession (obsolete) Note:

    This cmdlet is obsolete and not supported in Veeam Backup & Replication v.8.0.

    Applies to

    Platform: VMware, Hyper-V

    Syntax

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

    Related Commands

    Get-VSBSession

    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.

    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.

    Remove-VSBSession -Sessions $suresession