Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Get-VBRTaskSession

Short Description

Returns tasks performed during job sessions.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Get-VBRTaskSession [-Session] <CBackupSession> [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

This cmdlet returns tasks performed during the specified session. The tasks are VMs processed during one job session.

Run Get-VSBTaskSession to get the tasks for SureBackup jobs session.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Session

Specifies the session the tasks of which you want to get.

True

1

True (ByValue,
ByProperty
Name)

False

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.

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 gets the list of tasks performed for the VMs named "DC" and "DNS" in the backup job session named "Exchange Backup". The backup session is obtained with Get-VBRBackupSession and piped down.

PS C:\PS> Get-VBRBackupSession -Name "Exchange Backup" | Get-VBRTaskSession -Name "DC", "DNS"

Example 2

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.

PS C:\PS> Get-VBRTaskSession -Session $ExchangeSession -Name "DC", "DNS"

Related Commands

Get-VBRBackupSession

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation