N-central Help

DVD Modify Drive on VM

Configures a virtual DVD drive.

Input Parameters

Name Type Required Description
VM Name String Yes Specifies the name of the virtual machine on which the DVD drive is to be configured.
Controller Number Number Yes Specifies the IDE controller of the DVD drives to be configured. If not specified, DVD drives attached to all controllers are configured.
New Controller Number Number No Specifies the controller number to which this VMDvdDrive should be moved.
Controller Location Number Yes Specifies the IDE controller location of the DVD drives to be configured. If not specified, DVD drives in all controller locations are configured.
New Controller Location Number No Specifies the controller location to which this virtual DVD drive should be moved.
Disk ISO Path String Yes Specifies the path to the ISO file or physical DVD drive that will serve as media for the virtual DVD drive.

Output Parameters

Name Type Description
Result Number Returns a success value of zero or any value other than zero to indicate failure.

Example Input Parameters

Name Type Required Example
VM Name String Yes Guest001
Controller Number Number Yes 1
New Controller Number Number No 2
Controller Location Number Yes 1
New Controller Location Number No 2
Disk ISO Path String Yes .\Windows7.iso