Query to Run Report for "Patches Reported Installed in Software Inventory"
Hi Anyone,
I am trying to write a report using the Report Wizard, but I have been failing horribly. I am not sure how to write a report to gather information from a specific system. The information I need is from the Inventory of a device under "Patches Reported Installed in Software Inventory". See screenshot. Has anyone written a report to do this before? If so, do you mind sharing?
Thanks!
0 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
chucksteel
9 years ago
This should work:
SELECT SOFTWARE.DISPLAY_NAME, SOFTWARE.PUBLISHER FROM ORG1.SOFTWARE
JOIN MACHINE_SOFTWARE_JT on MACHINE_SOFTWARE_JT.SOFTWARE_ID = SOFTWARE.ID
JOIN MACHINE on MACHINE.ID = MACHINE_SOFTWARE_JT.MACHINE_ID
WHERE IS_PATCH = 1
and MACHINE.NAME = "targetcomputer"
Comments:
-
Hi Chucksteel, sorry for the delay. It worked! If possible, can it display the installed date in the query?
Thanks! - ttruong 9 years ago-
I should be more specific on the installed date. I was wondering if it is possible to put down the Installed Date column in the report? This way the report will indicate when each patch was installed. This will definitely do for our auditors. - ttruong 9 years ago