Ejects tape from drive.
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Eject-VBRTapeMedium -Medium <VBRTapeMedium> [<CommonParameters>]
Eject-VBRTapeMedium -Drive <VBRTapeDrive> [<CommonParameters>]
This cmdlet ejects tape that is located in drive. The ejected tape is moved to a standard library slot.
You can eject a tape that is known to be located in drive, or eject a tape located in a selected drive, or eject tapes in all drives managed by Veeam Backup & Replication. This cmdlet provides three scenarios for each case.
Specifies the array of tapes. The cmdlet will eject these tapes.
Accepts VBRTapeMedium, GUID or string type.
Specifies the array of drives. The cmdlet will eject tapes from these drives.
Accepts VBRTapeDrive, GUID or string type.
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
This command ejects tape named "00140009".
- Run Get-VBRTapeMedium to get the tape and save it to the $tape variable.
- Run Eject-VBRTapeMedium with this variable.
$tape = Get-VBRTapeMedium -Name "00140009"
Eject-VBRTapeMedium -Medium $tape