Estimated reading time: 1 minutes
If you want to identify machines with Google Earth software installed, you can utilise the Add/Remove Programs software inventory to do this by using this query.
select distinct
SMS_R_System.Name,
SMS_R_System.OperatingSystemNameandVersion,
SMS_R_System.ClientVersion
from SMS_R_System
inner join SMS_G_System_ADD_REMOVE_PROGRAMS
on SMS_G_System_ADD_REMOVE_PROGRAMS.ResourceID = SMS_R_System.ResourceId
where SMS_G_System_ADD_REMOVE_PROGRAMS.DisplayName Like "Google Earth%"
order by SMS_R_System.Name
This WQL query can then be used as part of an import function to create a device collection within SCCM.
More Queries
Our full range of SQL and WQL Collection queries are available here.
Feedback
If you have any questions or feedback about this post, or if you would like us to create any queries for you, please go ahead and leave us a message below in the comments section and we will get back to you as quick as we can.
Share this content:
I need a query to detect google earth pro installs. The above is returning zero results, and may be out of date.
I’ve updated it now, give it a try, it should work.