--- title: "Enable-VBRTapeDrive" description: "This cmdlet enables a selected tape library recording drive that was previously disabled. Run the Disable-VBRTapeDrive cmdlet to disable a tape drive." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/enable-vbrtapedrive.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Tape Devices > Tape Drives > Enable-VBRTapeDrive" dateModified: "2026-08-19" --- # Enable-VBRTapeDrive ## Short Description Enables a selected tape library drive. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Enable-VBRTapeDrive -Drive [-WhatIf] [-Confirm] [] ``` ## Detailed Description This cmdlet enables a selected tape library recording drive that was previously disabled. Run the [`Disable-VBRTapeDrive`](disable-vbrtapedrive.md) cmdlet to disable a tape drive. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

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.

VBRTapeDrive[]

True

Named

True (ByPropertyName, ByValue)

Confirm

Defines whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.

SwitchParameter

False

Named

False

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

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Examples ::: example ### 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. ``` Get-VBRTapeLibrary -Name "HP MSL G3 Series 3.00" | Get-VBRTapeDrive | Select -Last 1 | Enable-VBRTapeDrive ``` Perform the following steps: 1. Run the [`Get-VBRTapeLibrary`](get-vbrtapelibrary.md) cmdlet. Specify the `Name` parameter value. 2. Pipe the cmdlet output to the [`Get-VBRTapeDrive`](get-vbrtapedrive.md) cmdlet. Select the last drive in the list. Pipe this all to `Enable-VBRTapeDrive`. ::: ::: example ### 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. ``` $library = Get-VBRTapeLibrary -Name "HP MSL G3 Series 3.00" $drive = Get-VBRTapeDrive -Library $library | Select -First 1 Enable-VBRTapeDrive -Drive $drive ``` Perform the following steps: 1. Run the [`Get-VBRTapeLibrary`](get-vbrtapelibrary.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$library` variable. 2. Run the [`Get-VBRTapeDrive`](get-vbrtapedrive.md) cmdlet. Set the `$library` variable as the `Library` parameter value. Select the first drive. Save the result to the `$drive` variable. 3. Run the `Enable-VBRTapeDrive` cmdlet. Set the `$drive` variable as the `Drive` parameter value. ::: ## Related Commands [`Get-VBRTapeDrive`](get-vbrtapedrive.md)