Returns tape drives.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
This cmdlet provides parameter sets that allow you to:
- Get all tape drives.
- Get tape drives belonging to a specific library.
Get-VBRTapeDrive [-Library <VBRTapeLibrary>] [<CommonParameters>]
- Get tape drives by names.
Get-VBRTapeDrive [-Name <string>] [<CommonParameters>]
- Get tape drives by IDs.
Get-VBRTapeDrive [-Id <guid>] [<CommonParameters>]
- Get tape drives by slot numbers.
Get-VBRTapeDrive -Address <int> [<CommonParameters>]
This cmdlet returns tape recording drives. You can also view the model name, the state of the drive and whether it is enabled or disabled.
Specifies the tape library. The cmdlet will return drives that belong to this library.
Specifies the array of tape drive names. The cmdlet will return drives with these names.
Specifies the array of drive IDs. The cmdlet will return drives with these IDs.
Specifies the array of drive addresses (slot numbers). The cmdlet will return drives in these slots.
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Example 1. Getting Drives of Selected Library [Using Pipeline]
This example shows how to get drives of the HP MSL G3 Series 3.00 library.
Perform the following steps:
Example 2. Getting Drive by Name
This command looks for the Drive1 tape drive.