Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Get-VBRTapeLibrary

Short Description

Returns tape libraries.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Syntax

Get-VBRTapeLibrary [-TapeServer <VBRTapeServer[]>] [<CommonParameters>]

-OR-

Get-VBRTapeLibrary [-TapeServer <VBRTapeServer[]>] [-Id <guid[]>] [<CommonParameters>]

-OR-

Get-VBRTapeLibrary [-TapeServer <VBRTapeServer[]>] [-Name <string[]>] [<CommonParameters>]

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 that tape libraries are added to Veeam Backup & Replication automatically when you add tape server with connected library. Run Add-VBRTapeServer to add tape server.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

TapeServer

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

Accepts VBRTapeServer, GUID or string type.

False

Named

True (by Value
FromPipeline,
ValueFromPipeline
ByPropertyName)

False

Name

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

False

Named

False

True

Id

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

Accepts GUID or string type.

False

Named

True (by Value
FromPipeline,
ValueFromPipeline
ByPropertyName)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBRTapeLibrary[]

Example 1

This command gets a list of all tape libraries connected to Veeam Backup & Replication.

PS C:\PS> Get-VBRTapeLibrary

Example 2

This command looks for all tape libraries connected to the tape server named 'Sydney_Tape_Server'. The tape server is obtained with Get-VBRTapeServer and piped down.

PS C:\PS> Get-VBRTapeServer -Name "Sydney_Tape_Server" | Get-VBRTapeLibrary

Related Commands

Get-VBRTapeServer

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation