unloadopt command
Purpose
Remove a virtual optical media disk from a virtual optical device.
Description
The unloadopt command removes a virtual optical disk from the specified virtual optical device (VirtualTargetDevice). After the command completes the specified optical device will contain no media.
Flags
Flag name | Description |
---|---|
-release | Forces the virtual optical device to be unlocked even if the client has a reserve on the device. |
-vtd VirtualTargetDevice | The name of the virtual target device. |
Examples
To
unload the virtual optical disk loaded into the virtual optical device
vopt1, type the following command:
unloadopt -vtd vopt1