Hi,
i am trying to use VMReconfig.java (VISDK)attached below to remove the CD drive of a VM.
in that there are certain mandatory parameters as follow
vmname : Name of the virtual machine
*device : cpu|memory|disk|cd|nic
*value : high|low|normal|numeric value
here what does the value parameter correponds to...how can i set that?
please help me.....
for the refernce , i have attached the VMReconfig.java
Hi Padmini,
The "value" parameter in case of removal is the device name as it is visible in Virtual Machine properties. Thus, for e.g., for CD drive it may be "CD/DVD Drive 1", "CD/DVD Drive 2" etc. For floppy drive "Floppy Drive 1" etc.
run.bat com.vmware.samples.vm.VMReconfig --url https://<VC/ESX URL>/sdk/vimService --username <username> --password <password> --vmname <vmname> --device cd --operation remove --value "CD/DVD Drive 2"
Hope this will resolve your issues.
Neha
Hi,
thanks...am trying ......
Regards,
Padmini