Get-VBRSureBackupTaskSession
Short Description
Returns tasks performed during the specified SureBackup session.
Product Edition: Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VBRSureBackupTaskSession [-Name <String[]>] [-Id <Guid[]>] [-Session] <IVBRSureBackupSession> [<CommonParameters>] |
Detailed Description
This cmdlet returns the list of tasks performed during the specified SureBackup session.
Run the Get-VBRTaskSessionReturns tasks performed during job sessions. cmdlet to get the tasks for backup, replication and backup copy sessions.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Id |
Specifies the array of SureBackup sessions ID. The cmdlet will return sessions with this ID. |
|
False |
Named |
True (ByPropertyName, ByValue) |
|
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 |
True (ByPropertyName, ByValue) |
|
Session |
Specifies the array of SureBackup sessions. The cmdlet will return tasks performed during these sessions.
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRSureBackupTaskSession object that contains settings of tasks performed during the SureBackup session.
Examples
Getting List of SureBackup Sessions by Name
This example shows how to get the list of tasks performed for the VM named srv1 in the SureBackup job session named Winserver SureBackupJob.
|
$job = Get-VBRSureBackupSession -Name "Winserver SureBackupJob" Get-VBRSureBackupTaskSession -Session $job -Name "srv1" |
Perform the following steps:
- Run the
Get-VBRSureBackupSessionReturns SureBackup sessions that have been run. cmdlet. Specify theNameparameter value. Save the result to the$jobvariable. - Run the
Get-VBRSureBackupTaskSessioncmdlet. Set the$jobvariable as theSessionparameter value. Specify theNameparameter value.
Related Commands
Get-VBRSureBackupSessionReturns SureBackup sessions that have been run.