This is an archive version of the document. To get the most up-to-date information, see the current version.

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>]

Related Commands

Get-VSBSession

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 SureBackup session the tasks of which you want to get.

True

1

True (ByValue,
ByProperty
Name)

False

Name

Specifies the name of the SureBackup job within the session you indicated in the Session parameter the tasks for which you want to get.

You can specify multiple names separated by commas.

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-VBRTaskSession -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"