--- title: "Get-VBRSureBackupTaskSession" description: "This cmdlet returns the list of tasks performed during the specified SureBackup session. Run the Get-VBRTaskSession cmdlet to get the tasks for backup, replication and backup copy sessions." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/get-vbrsurebackuptasksession.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > SureBackup > SureBackup Jobs > Get-VBRSureBackupTaskSession" dateModified: "2026-08-19" --- # Get-VBRSureBackupTaskSession ## Short Description Returns tasks performed during the specified SureBackup session. **Product Edition**: Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Get-VBRSureBackupTaskSession [-Name ] [-Id ] [-Session] [] ``` ## Detailed Description This cmdlet returns the list of tasks performed during the specified SureBackup session. Run the [`Get-VBRTaskSession`](get-vbrtasksession.md) cmdlet to get the tasks for backup, replication and backup copy sessions. ## 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-VBRSureBackupSession cmdlet.

IVBRSureBackupSession

True

0

True (ByPropertyName, ByValue)

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object The cmdlet returns the `VBRSureBackupTaskSession` object that contains settings of tasks performed during the SureBackup session. ## Examples ::: example ### 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-VBRSureBackupSession`](get-vbrsurebackupsession.md) 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. ::: ## Related Commands [`Get-VBRSureBackupSession`](get-vbrsurebackupsession.md)