Get-VBRTapeLibrary
Short Description
Returns tape libraries.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Get all tape libraries connected to a tape server.
Get-VBRTapeLibrary [-TapeServer <VBRTapeServer[]>] [<CommonParameters>] |
- Get a tape library by ID.
Get-VBRTapeLibrary [-TapeServer <VBRTapeServer[]>] [-Id <guid[]>] [<CommonParameters>] |
- Get a tape library by name.
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 |
Tape libraries are added to Veeam Backup & Replication automatically when you add a tape server with connected library. Run the Add-VBRTapeServer cmdlet to add a tape server. |
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
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. | False | Named | True (ByValue, |
Name | Specifies the array of tape library names. The cmdlet will return tape libraries with these names. | String | False | Named | False |
Id | Specifies the array of tape library IDs. The cmdlet will return tape libraries with these IDs. | Accepts GUID or string. | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Example 1. Getting All Tape Libraries
This command gets a list of all tape libraries connected to Veeam Backup & Replication.
|
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.
Perform the following steps:
|
Related Commands