Previous Topic: dpmhyperv SetVMProperties Command--Set Properties of a VMNext Topic: dpmhyperv ShowClusterSharedVolumes Command--Show all Cluster Shared Volumes


dpmhyperv SetVMVirtFloppy Command--Assign a Virtual Floppy Image to a VM Floppy Drive

The dpmhyperv SetVMVirtFloppy command assigns a virtual floppy image to a VM floppy drive on the Hyper-V host.

This command has the following format:

dpmhyperv SetVMVirtFloppy 
[-ws_user username] 
[-ws_password password] 
[-ws_encrypted_password] -hypervHost hostname 
-vm vm_name|-vguid vm_ID 
[-path location] 
[-pre] 
[-post]
[-locale iso639value]
-ws_user username

(Optional) Specifies the CA Virtual Assurance user name.

-ws_password password

(Optional) Specifies the CA Virtual Assurance user password.

-ws_encrypted_password

(Optional) Indicates whether the CA Virtual Assurance password is encrypted.

-hypervHost hostname

Specifies the name of the Hyper-V host.

-vm vm_name

Specifies the VM name.

-vmguid vm_ID

Specifies the unique GUID of the VM.

-path location

Defines the location of the virtual floppy image.

-pre

(Optional) Generates an event before the operation is complete.

-post

(Optional) Generates an event after the operation is complete.

-locale iso639value

(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".

Example: Assign a Virtual Floppy Image to the VM Floppy Drive on a Hyper-V Host

This example connects the virtual floppy image, "1.vfd" to the VM floppy drive on the Hyper-V host, "hserver."

dpmhyperv SetVMVirtFloppy -ws_user admin -ws_password test -hypervHost hserver 
-vm test-vm01 -path C:\data\Floppy\1.vfd