VMware Cloud Community
olegarr
Enthusiast
Enthusiast

Import VM from another VC by script (converter-tool.exe)

Hello:

I am trying to create script to automatically import VM from one VC to another (will be run from destination VC server).

Looks like the best option is to use converter-tool.exe .

I trying to run the following command: converter-tool.exe --vH DestVCservername --vC user:password --jS C:\test.xml

At the result I have the error “not well-formed”, that Itells that test.xml file is not correct.

The XML file is as follow:

I could not find the error(s) in the xml file (even know it's there:)…

Also, I read that the Conver generate XML files from successful Converter jobs, but could not find any xml file that I could use as example after I successfully manually run the import process. If anyone knows where/how I can see correct xml it would be great...

Any help will be really appreciated.

Thank a lot

Reply
0 Kudos
0 Replies