Get-VBRTapeDrive
Short Description
Returns tape drives.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AllParameterSets (Default)Get-VBRTapeDrive [<CommonParameters>]
-
LibraryGet-VBRTapeDrive [-Library <VBRTapeLibrary>] [<CommonParameters>]
-
NameGet-VBRTapeDrive [-Name <String[]>] [<CommonParameters>]
-
IdGet-VBRTapeDrive [-Id <Guid[]>] [<CommonParameters>]
-
AddressGet-VBRTapeDrive -Address <Int32[]> [<CommonParameters>]
Detailed Description
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.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Address |
Specifies the array of drive addresses (slot numbers). The cmdlet will return drives in these slots. |
|
True |
Named |
True (ByPropertyName, ByValue) |
|
Id |
Specifies the array of drive IDs. The cmdlet will return drives with these IDs. |
|
False |
Named |
True (ByPropertyName, ByValue) |
|
Library |
Specifies the tape library. The cmdlet will return drives that belong to this library.
Accepts the |
False |
Named |
True (ByPropertyName, ByValue) |
|
|
Name |
Specifies the array of tape drive names. The cmdlet will return drives with these names. |
|
False |
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 Drives of Selected Library [Using Pipeline]
|
This example shows how to get drives of the
Perform the following steps:
|
Example 2. Getting Drive by Name
|
This command looks for the
|
Related Commands
Get-VBRTapeLibraryReturns tape libraries.