Posted by: Jason Tramer
svmotion, svmotion.pl, syntax, Vmotion
Whenever I need to do a Storage VMotion in ESX I never seem to remember the command. I always end up looking this up so I just wanted to record the syntax for the SVMotion command in the Remote CLI so that next time I need it six months from now, I’ll have an easy reference.
Here it is:
svmotion.pl --datacenter=<DC Name> --url=https://<FQDN of VCMS>/sdk --username=<Username on VCMS> --password=<Password> --vm "[<Source datastore>] <Path to VMX file of VM>:<Destination datastore>"
Hope this helps