Get-VBRTaskSession
Short Description
Returns tasks performed during job sessions.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
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 the Get-VBRSureBackupTaskSession cmdlet to get the tasks for SureBackup jobs session.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Session | Specifies the session tasks which you want to get. | Accepts the CBackupSession object. To get this object, run the Get-VBRBackupSession cmdlet. | True | 1 | True (ByValue, |
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. | String[] | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
VBRTaskSession
Examples
Example 1. Getting List of Tasks Performed for VMs [Using Pipeline]
This example shows how to get the list of tasks performed for the DC and DNS VMs in the backup job session with incremental backups named Exchange Backup.
Perform the following steps:
|
Example 2. Getting List of Tasks Performed for VMs [Using Variable]
This example shows how to get the list of tasks performed for the DC and DNS VMs in the backup job session with incremental backups named Exchange Backup.
Perform the following steps:
|
Related Commands