Get-VBRSureBackupTaskSession

Short Description

Returns tasks performed during the specified SureBackup session.

Product Edition: Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Get-VBRSureBackupTaskSession [-Name <String[]>] [-Id <Guid[]>] [-Session] <IVBRSureBackupSession> [<CommonParameters>]

Detailed Description

This cmdlet returns the list of tasks performed during the specified SureBackup session.

Run the Get-VBRTaskSessionReturns tasks performed during job sessions. cmdlet to get the tasks for backup, replication and backup copy sessions.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Id

Specifies the array of SureBackup sessions ID. The cmdlet will return sessions with this ID.

Guid[]

False

Named

True (ByPropertyName, ByValue)

Name

Specifies the array of SureBackup job names. The cmdlet will return tasks performed for VMs in these jobs during the selected job session.

String[]

False

Named

True (ByPropertyName, ByValue)

Session

Specifies the array of SureBackup sessions. The cmdlet will return tasks performed during these sessions.

Accepts the VBRSureBackupSession object. To get this object, run the Get-VBRSureBackupSessionReturns SureBackup sessions that have been run. cmdlet.

IVBRSureBackupSession

True

0

True (ByPropertyName, ByValue)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

The cmdlet returns the VBRSureBackupTaskSession object that contains settings of tasks performed during the SureBackup session.

Examples

Getting List of SureBackup Sessions by Name

This example shows how to get the list of tasks performed for the VM named srv1 in the SureBackup job session named Winserver SureBackupJob.

$job = Get-VBRSureBackupSession -Name "Winserver SureBackupJob"

Get-VBRSureBackupTaskSession -Session $job -Name "srv1"

Perform the following steps:

  1. Run the Get-VBRSureBackupSessionReturns SureBackup sessions that have been run. cmdlet. Specify the Name parameter value. Save the result to the $job variable.
  2. Run the Get-VBRSureBackupTaskSession cmdlet. Set the $job variable as the Session parameter value. Specify the Name parameter value.

Get-VBRSureBackupSessionReturns SureBackup sessions that have been run.

Page updated 2026-08-19

Page content applies to build 13.1.1.18