The dpmhv-SetVMVirtFloppy command lets you connect a virtual floppy image to the specified VM floppy drive on the Hyper-V host.
This command has the following format:
dpmhv-setVMVirtFloppy -host hostname -vm vmname|-vmid vmguid [-path pathname] [-retval] [-silent]
Specifies the name of the Hyper-V server host.
Specifies the name of the VM.
Specifies the unique ID of the VM.
(Optional) Specifies the path of the virtual floppy image (*.vfd) file that you want to create.
Returns a value for further processing.
Specifies not to direct the output to the screen.
Example: Attach a Floppy Image to VM Floppy Drive on Hyper-V Host
This example attaches a floppy image, "floppy.vfd" to the VM floppy drive on the Hyper-V host, "TestVM."
dpmhv-setVMVirtFloppy -host hvserver -vm TestVM -path c:\img\floppy.vfd
Example: Detaches a Floppy Image from VM Floppy Drive on Hyper-V Host
This example detaches a floppy image from the VM floppy drive on the Hyper-V host.
dpmhv-setVMVirtFloppy -host hvserver -vm TestVM
Copyright © 2013 CA. All rights reserved. |
|