Hi
I am trying to get the file path of the VMDK but unable to get the same
var devices = vm.config.hardware.device;
if ( devices != null ) {
for ( device in devices ) {
if ( devices[device] instanceof VcVirtualDisk) {
System.log("controller"+devices[device].controllerKey);
System.log("name"+devices[device].backing.filename);
}
}
}
Regards,
Deepak