Hi,
I made some tries under windows, but it don't work.
Here is the command I enter :
C:\Program Files (x86)\VMware\VMware vSphere CLI\Perl\apps\vm>vmreconfig.pl --us
ername xxxx --password xxxxx --filename vmreconfig.xml
Error in 'vmreconfig.xml':
Element 'Media-Type': This element is not expected.
But, I get media-type from : http://www.vmware.com/support/pubs/beta/viperltoolkit/doc/utilityappsdoc/vmreconfig.html
I joined my xml file.
Please help
Thank you
ML
BTW, do I need to keep all the statements of this xml file ? Do a file like this will work (when Media-type issue will be solved
<Reconfigure-Virtual-Machine>
<Name>myvirtualcenter</Name>
<Host>myhost</Host>
<Connect-Device>
<CD-DVD-Drive>
<Name>CD/DVD Drive 1</Name>
<PowerOn>True</PowerOn>
<Media-Type>
<ISO-Image>
<Datastore>templates</Datastore>
<FileName>/Windows_2003_32_standard_with_sp2.iso</FileName>
</ISO-Image>
</Media-Type>
</CD-DVD-Drive>
</Connect-Device>
</Reconfigure-Virtual-Machine>