Remove-VBRTapeLibrary
Short Description
Removes a specified tape library from Veeam Backup & Replication.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Detailed Description
This cmdlet removes a specified tape library from Veeam Backup & Replication.
When you remove a tape library, you stop managing it with your Veeam Backup & Replication console.
To remove a tape library, mind the following limitations:
- Only the libraries in the offline status can be removed. To remove a tape library, you need to physically disconnect it from the tape server first. Alternatively, you can remove the tape server to which the tape library is connected.
- You can remove the tape devices that are not used by any tape jobs. If any jobs are using the media pools assigned to the tape device, first redirect these jobs to other media pools.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
Library | Specifies the array of tape libraries. The cmdlet will remove these tape libraries. Accepts VBRTapeLibrary type. | True | Named | True (ByValue, | False |
WhatIf | Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. | False | Named | False | False |
Confirm | Specifies whether the cmdlet displays a prompt that asks if the user is sure that they want to continue. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
None
Example 1
This command removes a tape library named 'HP MSL G3 Series 3.00'. The library object is obtained with Get-VBRTapeLibrary and piped down.
Example 2
This command removes a tape library represented by '$SydneyTapeLibrary' variable. The library object is obtained with Get-VBRTapeLibrary and assigned to the variable beforehand.
Related Commands