Find computers that DO NOT have a specific application installed?

To get the list of windows software installed everywhere:

unique values of values of results from (bes property "Installed Applications - Windows") of bes computers

If you want to see a report of each computer and its installed applications:

(name of computers of it, values of it) of results from (bes property "Installed Applications - Windows") of bes computers

Finally, this session relevance finds all the computers in my environment without 7-Zip installed:

names of computers of (results (item 0 of it, item 1 of it) whose (not exists value whose (it contains "7-Zip") of it)) of (bes properties "Installed Applications - Windows", elements of it) of reported computer sets of bes properties "Installed Applications - Windows"

Note: I found the code in this thread: Find PC without software, so credit goes to @jgstew.

The only change I made was to add a “not” to the exists test. As long as you can find the name of the application in the list of “Installed Applications - Windows” values to do a proper comparison, this should work for you.

2 Likes