Get-VBRTapeMedium
Short Description
Returns tapes.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Get tapes by names.
Get-VBRTapeMedium [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
- Get tapes in selected drives.
Get-VBRTapeMedium -Drive <VBRTapeDrive[]> [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
- Get tapes by IDs.
Get-VBRTapeMedium -Id <Guid[]> [-Name <String[]>] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
- Get tapes in selected libraries.
Get-VBRTapeMedium [-Name <String[]>] -Library <VBRTapeLibrary[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
- Get tapes in selected media pools.
Get-VBRTapeMedium [-Name <String[]>] -MediaPool <VBRTapeMediaPool[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
- Get tapes in selected vaults.
Get-VBRTapeMedium [-Name <String[]>] -Vault <VBRTapeVault[]> [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Detailed Description
This cmdlet returns tapes managed by Veeam Backup & Replication.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Name | Specifies the array of tape names. The cmdlet will return tapes with these names. | String[] | False | Named | True (ByValue, |
Drive | Specifies the array of drives. The cmdlet will return tapes located in these drives. | Accepts the VBRTapeDrive[] object, GUID or string. To get this object, run the Get-VBRTapeDrive cmdlet. | True | Named | True (ByValue, |
Id | Specifies the array of tape IDs. The cmdlet will return tapes with these IDs. | Accepts GUID[] or string[]. | True | Named | True (ByValue, |
Library | Specifies the array of tape libraries. The cmdlet will return tapes in these libraries. | Accepts the VBRTapeLibrary[] object, GUID or string. To get this object, run the Get-VBRTapeLibrary cmdlet. | True | Named | True (ByValue, |
MediaPool | Specifies the array of media pools. The cmdlet will return tapes in these media pools. | Accepts the VBRTapeMediaPool[] object, GUID or string. To get this object, run the Get-VBRTapeMediaPool cmdlet. | True | Named | True (ByValue, |
Vault | Specifies the array of vaults. The cmdlet will return tapes in these vaults. | Accepts the VBRTapeVault[] object, GUID or string. To get this object, run the Get-VBRTapeVault cmdlet. | True | Named | True (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
Example 2. Getting Tape by Barcode
This example shows how to get a tape with the 00233400 barcode. Perform the following steps:
|
Example 3. Getting Tapes in Media Pool
This example shows how to get the list of tapes in the Incremental Backups media pool.
Perform the following steps:
|
Example 4. Getting Expired Tapes in Vault
This example shows how to look for the expired tapes within the Sydney vault. Perform the following steps:
|
Related Commands