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

Get-VSBSession

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 array of SureBackup session names. The cmdlet will return sessions with these names.

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

False

Named

False

True

<CommonParameters>

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

Example 1

This command looks for the list of all backup sessions.

Get-VSBSession

Example 2

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

Get-VSBSession -Name *Winserver SureJob*