--- title: "Get-VBRTapeLibrary" description: "Returns tape libraries. Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet provides the following parameter sets: This cmdlet returns tape libraries connected to Veeam Backup & Replication." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/get-vbrtapelibrary.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Tape Devices > Tape Libraries > Get-VBRTapeLibrary" dateModified: "2026-08-19" --- # Get-VBRTapeLibrary ## Short Description Returns tape libraries. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets: ## Detailed Description This cmdlet returns tape libraries connected to Veeam Backup & Replication. You can get the list of all tape libraries, narrow down your search to particular tape servers or search for instances directly by name or ID. ::: note Tape libraries are added to Veeam Backup & Replication automatically when you add a tape server with connected library. Run the [`Add-VBRTapeServer`](add-vbrtapeserver.md) cmdlet to add a tape server. ::: ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Id

Specifies the array of tape library IDs. The cmdlet will return tape libraries with these IDs.

Accepts Guid[] or String[].

Guid[]

False

Named

False

Name

Specifies the array of tape library names. The cmdlet will return tape libraries with these names.

String[]

False

Named

False

TapeServer

Specifies the array of tape servers. The cmdlet will return tape libraries connected to these tape servers.

Accepts the VBRTapeServer[] object, GUID or string type. To get this object, run the Get-VBRTapeServer cmdlet.

VBRTapeServer[]

False

Named

True (ByPropertyName, ByValue)

`` 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). ## Output Object [`VBRTapeLibrary[]`](vbrtapelibrary.md) ## Examples ::: example ### Example 1. Getting All Tape Libraries This command gets a list of all tape libraries connected to Veeam Backup & Replication. ``` Get-VBRTapeLibrary ``` ::: ::: example ### Example 2. Getting All Tape Libraries Connected to Tape Server [Using Pipeline] This command looks for all tape libraries connected to the tape server named `Sydney_Tape_Server`. ``` Get-VBRTapeServer -Name "Sydney_Tape_Server" | Get-VBRTapeLibrary ``` Perform the following steps: 1. Run the [`Get-VBRTapeServer`](get-vbrtapeserver.md) cmdlet. Specify the `Name` parameter value. 2. Pipe the cmdlet output to the `Get-VBRTapeLibrary` cmdlet. ::: ## Related Commands [`Get-VBRTapeServer`](get-vbrtapeserver.md)