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

Get-VSBSession

In this article

    Short Description

    Returns SureBackup sessions that have been run.

    Applies to

    Platform: VMware, Hyper-V

    Product Edition: Enterprise, Enterprise Plus

    Syntax

    Get-VSBSession [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

    Detailed Description

    This cmdlet returns the list of all SureBackup sessions that have been run.

    Run Get-VSBTaskSession to get the list of all tasks performed during the specific SureBackup session.

    Run Get-VBRBackupSession to get list of backup sessions that have been run.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    Name

    Specifies the name of the SureBackup session you want to get, or search conditions.

    The name of the SureBackup session is a name of the SureBackup job.

    You can specify multiple names separated by commas.

    False

    Named

    False

    True

    <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 looks for the list of all backup sessions.

    PS C:\PS> Get-VSBSession

    Example 2

    This command looks for the SureBackup session named "Winserver SureJob".

    PS C:\PS> Get-VSBSession -Name *Winserver SureJob*