Remove-VBRTapeMedium
Short Description
Removes the selected tapes from tape catalog.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Remove-VBRTapeMedium -Medium <VBRTapeMedium[]> [-FromVault] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes the selected tapes and the data written to the tapes from the tape catalog and Veeam backup database.
Note |
|
Consider the following:
|
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
FromVault |
Defines that the cmdlet will remove the tape from the vault. Note that the tape will not be removed from the tape catalog. |
|
False |
Named |
False |
|
Medium |
Specifies the tapes you want to remove.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
Confirm |
Defines whether the cmdlet displays a prompt that asks if the user is sure that they want to continue.
Note: Microsoft PowerShell enables the |
|
False |
Named |
False |
|
WhatIf |
Defines whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Removing Tape from the Tape Catalog and Backup Database
This example shows how to remove the tape SWOHC001 from the tape catalog and Veeam backup database.
|
$tape = Get-VBRTapeMedium -Name SWOHC001 Remove-VBRTapeMedium -Medium $tape |
Perform the following steps:
- Run the
Get-VBRTapeMediumReturns tapes. cmdlet. Specify theNameparameter value. Save it to the$tapevariable. - Run the
Remove-VBRTapeMediumcmdlet. Set the$tapevariable as theMediumparameter value.
Related Commands
Get-VBRTapeMediumReturns tapes.