Seems like this should be a common enough question but I can't seem to find any answers related to VIX.
Upon moving or copying a VM when you power it on your asked if you have moved it or copied it.
I'd like a way to detect and answer that via the VIX API. I can see how to do it with vmware-vim-cmd usinng vmsvc/message but I'd like to be able to do this remotely from another machine. I could set the auto answer on the host but in some cases the correct answer is moved and in others it's copied.
Another option might be a VMRunCMDOnHost function that passes stuff to vim-cmd and returns the results. From the looks of things the API seems to be hitting a URL on the target host, so at this point I'd be happy with a URL to hit with the right params rather than sshing into the machine to get it to finish powering up.
domo