SQL Query to find the list of machines with a particular application installed.
Please find the query below. Change the application Name & Publisher Name according to your need. SELECT c.Name0, a.DisplayName0, a.Version0, c.AD_Site_Name0, b.LastUsedTime0 FROM v_GS_ADD_REMOVE_PROGRAMS a Join v_R_System c On a.ResourceID = c.ResourceID Join v_GS_CCM_RECENTLY_USED_APPS B On B.ResourceID = a.ResourceID WHERE a.ResourceID = c.ResourceID AND a.DisplayName0 like '% Adobe % Reader %' AND a.Publisher0 like '% Adobe %' AND Version0 like '11' GROUP BY c.Name0, a.DisplayName0, a.Version0, c.AD_Site_Name0, b.LastUsedTime0 ORDER BY c.name0