Get-VBRTapeMedium
Short Description
Returns tapes.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AllParameterSets (Default)Get-VBRTapeMedium [-Name <String[]>] [<CommonParameters>]
-
DriveGet-VBRTapeMedium -Drive <VBRTapeDrive[]> [-Name <String[]>] [<CommonParameters>]
-
IdGet-VBRTapeMedium -Id <Guid[]> [-Name <String[]>] [<CommonParameters>]
-
LibraryGet-VBRTapeMedium [-Name <String[]>] -Library <VBRTapeLibrary[]> [<CommonParameters>]
-
MediaPoolGet-VBRTapeMedium [-Name <String[]>] -MediaPool <VBRTapeMediaPoolBase[]> [<CommonParameters>]
-
VaultGet-VBRTapeMedium [-Name <String[]>] -Vault <VBRTapeVault[]> [<CommonParameters>]
Detailed Description
This cmdlet returns tapes managed by Veeam Backup & Replication.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Drive |
Specifies the array of drives. The cmdlet will return tapes located in these drives.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
Id |
Specifies the array of tape IDs. The cmdlet will return tapes with these IDs.
Accepts |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Library |
Specifies the array of tape libraries. The cmdlet will return tapes in these libraries.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
MediaPool |
Specifies the array of media pools. The cmdlet will return tapes in these media pools.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
Name |
Specifies the array of tape names. The cmdlet will return tapes with these names. |
|
False |
Named |
True (ByPropertyName, ByValue) |
|
Vault |
Specifies the array of vaults. The cmdlet will return tapes in these vaults.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Getting Tape by Name
|
This command gets a tape named
|
Example 2. Getting Tape by Barcode
|
This example shows how to get a tape with the
Perform the following steps:
|
Example 3. Getting Tapes in Media Pool
|
This example shows how to get the list of tapes in the
Perform the following steps:
|
Example 4. Getting Expired Tapes in Vault
|
This example shows how to look for the expired tapes within the
Perform the following steps:
|
Related Commands
Get-VBRBackupReturns backups.Get-VBRTapeMediaPoolReturns media pools.Get-VBRTapeLibraryReturns tape libraries.