Get-VBRTapeBackupSession
Short Description
Returns tape backup job sessions.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
Name (Default)Get-VBRTapeBackupSession [-Name <String[]>] [<CommonParameters>]
-
IdGet-VBRTapeBackupSession [-Id <Guid[]>] [<CommonParameters>]
-
JobGet-VBRTapeBackupSession [-Job <VBRTapeJob>] [<CommonParameters>]
Detailed Description
This cmdlet returns tape backup job sessions.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Id |
Specifies an array of tape backup session IDs. The cmdlet will return tape backup sessions with these IDs. |
|
False |
Named |
False |
|
Job |
Specifies a tape backup job. The cmdlet will return tape backup sessions run for this tape backup job.
Accepts the |
|
False |
Named |
False |
|
Name |
Specifies an array of tape backup job names. The cmdlet will return tape backup sessions run for this tape backup job. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRTapeBackupSession object that defines the tape backup job session with the following attributes: Progress, RunManually, Log, Initiator, CreationTime, EndTime, JobId, Result, State, Id.
Examples
Example 1. Getting Tape Backup Sessions with Certain IDs
|
This example shows how to get tape backup sessions with certain IDs.
|
Example 2. Getting Tape Backup Sessions for Certain Tape Backup Job
|
This example shows how to get tape backup sessions run for a certain tape backup job.
Perform the following steps:
|
Related Commands
Get-VBRTapeJobReturns tape jobs.