Disable-VBRTapeProtection
Short Description
Disables protection set for tapes.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Disable-VBRTapeProtection -Medium <VBRTapeMedium[]> [-PassThru] [<CommonParameters>] |
Detailed Description
This cmdlet disables protection that was previously enabled for tapes.
You can disable protection of tapes that are both online or offline. When you disable protection, the tape retention period returns to media pool settings.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Medium |
Specifies the array of protected tapes. The cmdlet will disable protection for these tapes.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
PassThru |
Defines that the command returns the output object to the Windows PowerShell console. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Turning off Tape Protection
This example shows how to turn off protections for the tapes named 00140009 and 00140010.
|
$tape = Get-VBRTapeMedium -Name "00140009","00140010" Disable-VBRTapeProtection -Medium $tape |
Perform the following steps:
- Run the
Get-VBRTapeMediumReturns tapes. cmdlet. Specify theNameparameter value. Save the result to the$tapevariable. - Run the
Disable-VBRTapeProtectioncmdlet. Set$tapevariable as theMediumparameter value.
Related Commands
Get-VBRTapeMediumReturns tapes.