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

Get-VSBTaskSession

Short Description

Returns tasks performed during the specified SureBackup session.

Applies to

Platform: VMware, Hyper-V

Product Edition: Enterprise, Enterprise Plus

Syntax

Get-VSBTaskSession [-Session] <CSbSession> [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]

Detailed Description

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

Run Get-VBRTaskSession to get the tasks for backup, replication and backup copy sessions.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Session

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

True

1

True (ByValue,
ByProperty
Name)

False

Name

Specifies the array of SureBackup job names. The cmdlet will return tasks performed for VMs in these jobs during the selected job 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 SureBackup job session named "Exchange SureJob". The SureBackup session is obtained with Get-VSBSession and piped down.

PS C:\PS> Get-VSBSession -Name "Exchange SureJob" | Get-VSBTaskSession -Name "DC", "DNS"

Example 2

This command gets the list of tasks performed for the VMs named "DC" and "DNS" in the SureBackup job session represented by the $"Exchange SureJob" variable. The SureBackup session is obtained with Get-VSBSession and assigned to the variable beforehand.

PS C:\PS> Get-VSBTaskSession -Session $"Exchange SureJob" -Name "DC", "DNS"

Related Commands

Get-VSBSession

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 Endpoint Backup Documentation

Veeam Management Pack Documentation