I am looking for sql script for a KACE1000 report that will give me a listing of ALL software in inventory and then broken down by machine name and IP

the results would look something like

Software       Computer name       IP address

Chrome         123                         xxx.xxx.xxx.xxx

                      124                         xxx.xxx.xxx.xxx

Firefox           125                         xxx.xxx.xxx.xxx


0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1
Did you mean this one?

select s.DISPLAY_NAME, s.DISPLAY_VERSION, m.NAME, m.IP 
  from SOFTWARE as s, MACHINE as m, MACHINE_SOFTWARE_JT as ms
 where s.ID = ms.SOFTWARE_ID
   and m.ID = ms.MACHINE_ID

But in our case there are a lot of rows found. Maybe you have to filter this, eg. hide Windows Updates. Add the following line to the where clause.

   and s.DISPLAY_NAME not like '%Update%'
Answered 04/07/2015 by: aragorn.2003
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share