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

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 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*

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