Thanks.  That pointed me in the right direction.  For anyone looking for code, I am using:  ... topologyQuery = "!DBSS_Instance" objects = querySvc.queryTopologyObjects(topologyQuery)  objects.each { object->     instance_name = object.name     instance_host_name = object.real_mon_instance_name      vm = 'Physical'     vmQuery = "!VMWVirtualMachine where host.name = '"+instance_host_name+"'"     vms = querySvc.queryTopologyObjects(vmQuery)     if (vms.size() > 0) {          vm = 'VM'     } ...
Hi,  I am writing a groovy script to pull some data from our SQL Server instances being monitored.  I would like to be able to differentiate b/w physical hosts and virtual hosts.  I know this must be possible since the database dashboard shows a different icon for the two.  However, I can find what data item or property I would look at to determine this.  [IMAGE]  I am using the following code:  dataSrv = server.DataService querySvc = server.QueryService  topologyQuery = "!DBSS_Instance" objects = querySvc.queryTopologyObjects(topologyQuery)  // Need a way to determine if each object is on a physical or virtual host  //...........   Thanks.
Determine if host is virtual in groovy script