--- title: "Get-VBRTaskSession" description: "Returns tasks performed during job sessions. Platform: VMware, Hyper-V Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet returns tasks performed during the specified session." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/get-vbrtasksession.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Jobs > Sessions > Get-VBRTaskSession" dateModified: "2026-08-19" --- # Get-VBRTaskSession ## Short Description Returns tasks performed during job sessions. **Platform**: VMware, Hyper-V **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Get-VBRTaskSession [-Session] [-Name ] [] ``` ## Detailed Description This cmdlet returns tasks performed during the specified session. The tasks are VMs processed during one job session. Run the [`Get-VBRSureBackupTaskSession`](get-vbrsurebackuptasksession.md) cmdlet to get the tasks for SureBackup jobs session. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Name

Specifies the array of job object names (for example, VMs in job). The cmdlet will return tasks performed for these objects during the selected session.

String[]

False

Named

False

Session

Specifies the session tasks which you want to get.

Accepts the following objects:

VBRSession

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 `VBRTaskSession` ## Examples ::: example ### Example 1. Getting List of Tasks Performed for VMs [Using Pipeline] This example shows how to get the list of tasks performed for the `DC` and `DNS` VMs in the backup job session with incremental backups named `Exchange Backup`. ``` Get-VBRBackupSession -Name "Exchange Backup (Incremental)" | Get-VBRTaskSession -Name "DC", "DNS" ``` Perform the following steps: 1. Run the [`Get-VBRBackupSession`](get-vbrbackupsession.md) cmdlet. Specify the `Name` parameter value. 2. Pipe the cmdlet output to the `Get-VBRTaskSession` cmdlet. Specify the `Name` parameter value. ::: ::: example ### Example 2. Getting List of Tasks Performed for VMs [Using Variable] This example shows how to get the list of tasks performed for the `DC` and `DNS` VMs in the backup job session with incremental backups named `Exchange Backup`. ``` $ExchangeSession = Get-VBRBackupSession -Name "Exchange Backup (Incremental)" Get-VBRTaskSession -Session $ExchangeSession -Name "DC", "DNS" ``` Perform the following steps: 1. Run the [`Get-VBRBackupSession`](get-vbrbackupsession.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$ExchangeSession` variable. 2. Run the `Get-VBRTaskSession` cmdlet. Set the `$ExchangeSession` variable as the `Session` parameter value. Specify the `Name` parameter value. ::: ## Related Commands [`Get-VBRBackupSession`](get-vbrbackupsession.md)