/build/static/layout/Breadcrumb_cap_w.png

Is there a way to create a Smart Label in Kace to tell which version of Java my users have on their computer.

I need to create a Smart Label to give me what version of Java each of my users has loaded on their computers.

3 Comments   [ + ] Show comments
  • You could but using the reporting wizard would be easier and you can then sort by software title to see which machine as which version. You can change around the < 9 line if you want.


    SELECT DISTINCT MACHINE.NAME AS DEVICE,SOFTWARE.DISPLAY_NAME AS SOFTWARE, SOFTWARE.DISPLAY_VERSION AS VERSION FROM MACHINE_SOFTWARE_JT,MACHINE,SOFTWARE
    WHERE SOFTWARE_ID = SOFTWARE.ID AND
    MACHINE_ID = MACHINE.ID
    AND
    DISPLAY_NAME LIKE "%JAVA%"
    AND DISPLAY_NAME NOT LIKE "JAVA AUTO UPDATER" AND DISPLAY_NAME NOT LIKE "%SE Development%"
    AND DISPLAY_VERSION < 9
    /*AND DISPLAY_NAME LIKE "%(64-BIT)%" OR "%32-BIT)%"*/
    ORDER BY VERSION DESC, MACHINE.NAME - nshah 8 years ago
  • The only thing I would add is that the Smart Label would be better if you find that you need to target machines for updates or version removal. - Soloman007 8 years ago
  • Thank You So, Much for your assistance. I decided to make a Smart Label. - blackhawkdl 8 years ago

Answers (1)

Posted by: chucksteel 8 years ago
Red Belt
1
If you want a custom inventory rule this will work on both Windows and Mac:
ShellCommandTextReturn(java -version)

 
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