Create Report To Show Devices Missing A Windows Update
What is the best way to create a report to list devices that do not have a Windows Update installed?
The update is KB4486153.
I have tried the following but get 0 results.
SELECT MACHINE_ID as TOPIC_ID,
KBSYS.PATCH.TITLE AS PATCH,
MACHINE.NAME AS MACHINE,
IP
FROM PATCH_MACHINE_STATUS
JOIN KBSYS.PATCH ON (KBSYS.PATCH.ID = PATCH_MACHINE_STATUS.PATCH_ID)
JOIN MACHINE ON (MACHINE.ID = PATCH_MACHINE_STATUS.MACHINE_ID)
WHERE
KBSYS.PATCH.PATCH_IDENTIFIER IN ('KB4486153')
AND
PATCH_MACHINE_STATUS.PATCH_INSTALLED = 0
AND
KBSYS.PATCH.IS_SUPERCEDED = 0
AND
PATCH_MACHINE_STATUS.PATCH_APPLICABLE = 1
GROUP BY MACHINE.ID
1 Comment
[ + ] Show comment
Answers (0)
Please log in to answer
Be the first to answer this question
The patches will be marked in a different way and may help with regards to understanding what we are looking for in the database. - Hobbsy 4 years ago