Get-VBRTapeLibrary
Short Description
Returns tape libraries.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides the following parameter sets:
-
AllParameterSets (Default)Get-VBRTapeLibrary [-TapeServer <VBRTapeServer[]>] [<CommonParameters>]
-
IdGet-VBRTapeLibrary [-Id <Guid[]>] [-TapeServer <VBRTapeServer[]>] [<CommonParameters>]
-
NameGet-VBRTapeLibrary [-Name <String[]>] [-TapeServer <VBRTapeServer[]>] [<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 |
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 |
|
False |
Named |
False |
|
Name |
Specifies the array of tape library names. The cmdlet will return tape libraries with these names. |
|
False |
Named |
False |
|
TapeServer |
Specifies the array of tape servers. The cmdlet will return tape libraries connected to these tape servers.
Accepts the |
False |
Named |
True (ByPropertyName, ByValue) |
<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
Perform the following steps:
|
Related Commands
Get-VBRTapeServerReturns tape servers.