C# Script for Migrating a VM via VMotion on Vmware ESX

Posted on 2:46 PM by Bharathvn

string handleHost = vma_.ResolvePath(pathHost);
string handleVM = vma_.ResolvePath(pathVM);
ViewContents contentsXML = vma_.MigrateVM(handleVM, handleHost,
Level.normal);