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

How to pull the details of SCSi Controller from guest via vro

$
0
0

We have tried the possibilities to get the details by using below scripts..

 

//To print Disks Name

var vmDisks=myvm.guest.disk;

for (var i=0 in vmDisks)

{

var name=myvm.guest.disk[i].diskPath;

var guestdisk = new VcVirtualDisk();

var guestdisks =myvm.guest.disk[i];

 

 

System.log(guestdisk.guestdisks[i].ControllerKey);

System.log(name +": capacity : "+ myvm.guest.disk[i].capacity/1024 /1024 /1024 + " GB and FreeSpace: " + myvm.guest.disk[i].freeSpace/1024 /1024 /1024 + "GB");

}

 

We are not able to find the right scripting object to pull the SCSi controller details from the guest OS (windows).

 

Note :- from Vmlevel we are able to pull the scsi details, but we would like to pull from guest os, if i select the vm it should give E drive is connected to hardisk 1 and its SCSI details and present in this datastore.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



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