Relocate a Virtual Machine's Storage

You can relocate a virtual machine's storage including the disks.
  1. Determine the path to the virtual machine configuration file.
  2. Run
    svmotion
    by using the following syntax.
    svmotion --url=https://myvc.mycorp.com/sdk --datacenter=DC1 --vm="[storage1] myvm/myvm.vmx:new_datastore"
    The example is for Windows. Use single quotes on Linux.