Erase-VBRTapeMedium
Short Description
Erases data from tape.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Erase-VBRTapeMedium -Medium <VBRTapeMedium[]> [-Long] [-Wait] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet erases data from the selected tapes. The erased tapes are moved to the Free media pool.
The cmdlet provides two scenarios for erasing options:
- Short: only the tape data header is cleared. The tape becomes available for overwriting. Short erase is a quick procedure.
- Long: all data is cleared from tape. This procedure requires more time.
|
Important |
|
You cannot erase data from the following types of tapes:
|
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept |
|---|---|---|---|---|---|
|
Medium |
Specifies the array of tapes. The cmdlet will erase these tapes. |
Accepts the VBRTapeMedium[] object, GUID or string. To get this object, run the Get-VBRTapeMedium cmdlet. |
True |
Named |
True (ByValue, |
|
Long |
Defines that the cmdlet will perform the long (full) erase. Default: short erase. |
SwitchParameter |
False |
Named |
False |
|
Wait |
Defines that the command waits for the erase process(es) to complete before accepting more input. |
SwitchParameter |
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
SwitchParameter |
False |
Named |
False |
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command. |
SwitchParameter |
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. Running Short Erase on Selected Tape
|
This example shows how to run short erase on the 00170010 tape.
Perform the following steps:
|
Example 2. Running Long Erase on Selected Tape
|
This example shows how to run long erase on the 00170010 tape.
Perform the following steps:
|
Related Commands