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

Get-VBRBackupSession

Short Description

Returns backup sessions that have been run.

Applies to

Platform: VMware

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

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

Detailed Description

This cmdlet returns backup, replication and backup copy sessions that have been run.

You can get the list of all backup, replication and backup copy sessions, or look for instances directly by name.

Run Get-VBRTaskSession to get the list of all tasks performed during the specific backup, replication or backup copy session.

Run Get-VSBSession to get the list of SureBackup sessions that have been run.

Return Type

CBackupSession

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Name

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

The name of the session is a name of the 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-VBRBackupSession

Example 2

This command looks for all backup copy sessions.

PS C:\PS> Get-VBRBackupSession -Name *Backup Copy*