Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

How to get the complete file path of VMDK

$
0
0

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


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>