Enable-VBRTapeDrive
Short Description
Enables a selected tape library drive.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Enable-VBRTapeDrive -Drive <VBRTapeDrive[]> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet enables a selected tape library recording drive that was previously disabled.
Run the Disable-VBRTapeDrive cmdlet to disable a tape drive.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Drive | Specifies the array of drives. The cmdlet will enable these drives. | Accepts the VBRTapeDrive[] object. To get this object, run the Get-VBRTapeDrive cmdlet. | True | Named | True (ByValue, |
WhatIf | Defines whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. | SwitchParameter | False | Named | False |
Confirm | Defines whether the cmdlet displays a prompt that asks if the user is sure that they want to continue. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Example 1. Enabling Drive of Selected Library [Using Pipeline]
This example shows how to enable one drive of the HP MSL G3 Series 3.00 library.
Perform the following steps:
|
Example 2. Enabling Drive of Selected Library [Using Variable]
This example shows how to disable a first drive in HP MSL G3 Series 3.00 tape library.
Perform the following steps:
|
Related Commands