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

Get-VBRNASBackupTaskSession

Short Description

Returns tasks for file share backup sessions.

Important

This cmdlet is available starting from Veeam Backup & Replication 11a (build 11.0.1.1261).

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get file share backup session tasks by the file share names.

Get-VBRNASBackupSession -Name <string[]>  [<CommonParameters>]

  • Get file share backup session tasks by their IDs.

Get-VBRNASBackupSession -Id <guid[]>  [<CommonParameters>]

  • Get file share backup session tasks for the backup session.

Get-VBRNASBackupTaskSession -Session <VBRNASBackupSession>  [<CommonParameters>]

Detailed Description

This cmdlet returns tasks for NAS backup sessions. Veeam Backup & Replication creates a separate task for each file share within a NAS backup session.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Name

Specifies an array of file share names. The cmdlet will return tasks that run for file shares with these names.

String[]

True

Named

False

Id

Specifies an array of IDs for file share backup session tasks. The cmdlet will return tasks with these IDs.

Guid[]

True

Named

False

Session

Specifies the file share backup session. The cmdlet will return tasks that run within the file share backup session with this ID.

Accepts the VBRNASBackupSession object. To get this object, run the Get-VBRNASBackupSession cmdlet.

True

Named

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

VBRNASBackupTaskSession

Examples

Get-VBRNASBackupTaskSessionExample 1. Getting Backup Session Tasks for File Share by Its Name

Get-VBRNASBackupTaskSessionExample 2. Getting Backup Session Tasks by Task IDs

Get-VBRNASBackupTaskSessionExample 3. Getting Backup Session Tasks for Backup Session

Related Commands

Get-VBRNASBackupSession