Disable-VBRTapeProtection
Short Description
Disables protection set for tapes.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Related Commands
Return Type
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 | Required | Position | Accept | Accept |
Medium | Specifies the tapes for which you want to disable protection. Accepts VBRTapeMedium object, GUID or string type. You can assign multiple tapes to this object. | True | Named | True (by Value | False |
PassThru | Indicates that the command returns the output object to the Windows PowerShell console. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example
This command turns off protections for the tapes named "00140009" and "00140010".
- Run Get-VBRTapeMedium to get the tape and save it to the $tape variable.
- Run Disable-VBRTapeProtection with this variable.