Is it posible to migrate a virtual machine from a esxi host to another using commnd line and not by web?
vMotion is a feature of the vCenter so the host them self doesnt know about.
There is a REST API comming around the corner within the new 6.7 vCenter. Rest means URLs which often ends up in a one-line so a cURL or Wget can be used and the later one is available in the Busybox of a ESXi. But i preferer to use my admin PC for that kind of jobs.