Check if this script dumps the info you need (the input parameter is the variable 'vm'):
for each (var device in vm.config.hardware.device) {
if (device instanceof VcVirtualDisk) {
System.log(device.backing.fileName);
}
}
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.
Check if this script dumps the info you need (the input parameter is the variable 'vm'):
for each (var device in vm.config.hardware.device) {
if (device instanceof VcVirtualDisk) {
System.log(device.backing.fileName);
}
}
---------------------------------------------------------------------------------------------------------
Was it helpful? Let us know by completing this short survey here.