Returns tasks performed during job sessions.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Get-VBRTaskSession [-Session] <CBackupSession> [-Name <String>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]
This cmdlet returns tasks performed during the specified session. The tasks are VMs processed during one job session.
Run Get-VBRSureBackupTaskSession to get the tasks for SureBackup jobs session.
Specifies the session tasks which you want to get.
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.
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
This command gets the list of tasks performed for the VMs named "DC" and "DNS" in the backup job session with incremental backups named "Exchange Backup". The backup session is obtained with Get-VBRBackupSession and piped down.
Get-VBRBackupSession -Name "Exchange Backup (Incremental)" | Get-VBRTaskSession -Name "DC", "DNS"
This command gets the list of tasks performed for the VMs named "DC" and "DNS" in the backup job session represented by the $ExchangeSession variable. The backup session is obtained with Get-VBRBackupSession and assigned to the variable beforehand.
Get-VBRTaskSession -Session $ExchangeSession -Name "DC", "DNS"