/build/static/layout/Breadcrumb_cap_w.png

Displaying a list of all installed software without versions?

 I need a list of all installed applications without versions in my environment.   This will be an ongoing report to bring to our security team to see if these software applicantions need to be removed.  It's very cumbersome to present a list of 20,000 applications because its shows many versions of the same title installed.  I would like to programmatically filter this list down to add just the title to the list.  I don't need to see App version 1.x, 2.x, 3.x etc...  Is this possible?  I've been working on this a few days and can't get anywhere.

I'm using K1000 v. 7.0.121306                                                

0 Comments   [ + ] Show comments

Answers (1)

Posted by: chucksteel 6 years ago
Red Belt
0
You can group by display name, but that won't entirely fix the problem because some software titles include the version.
SELECT DISPLAY_NAME, COUNT(DISPLAY_VERSION) as "Versions", COUNT(MACHINE_SOFTWARE_JT.MACHINE_ID) as "Machines"FROM ORG1.SOFTWAREJOIN MACHINE_SOFTWARE_JT on MACHINE_SOFTWARE_JT.SOFTWARE_ID = SOFTWARE.IDGROUP BY DISPLAY_NAME
This shows how many different versions are installed for demonstration purposes. Since this is an ongoing effort you may want to show just applications that were added in the past 30 days:
SELECT DISPLAY_NAME, COUNT(DISPLAY_VERSION) as "Versions", COUNT(MACHINE_SOFTWARE_JT.MACHINE_ID) as "Machines"
FROM ORG1.SOFTWARE
JOIN MACHINE_SOFTWARE_JT on MACHINE_SOFTWARE_JT.SOFTWARE_ID = SOFTWARE.ID
WHERE CREATED > DATE_SUB(NOW(), INTERVAL 30 DAY)
GROUP BY DISPLAY_NAME


Comments:
  • This definitely helps, thanks. I've now created a smart label that filters out some of the software we know is ok and do not want to report on. This is an export of the smart label.

    SELECT DISPLAY_NAME, PUBLISHER, SOFTWARE.ID as TOPIC_ID FROM SOFTWARE WHERE ((DISPLAY_NAME not like '%update%') AND (DISPLAY_NAME not like '%kace%') AND (DISPLAY_NAME not like '%microsoft%') AND (DISPLAY_NAME not like '%mcafee%') AND (DISPLAY_NAME not like '%symantec%')

    How do I combine this filtering with your sample SQL query? - randyintally 6 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ