Hi Team , We are in need of a extra custom setting in web reports to track the exact date of last patch applied on a machine and whether the system is in a pending restart state for that particular patch which requires pending restart.(If the patch does not require pending restart then data should not be displayed for that action we require only for the patch which requires pending restart as the last patch applied)
If you’re looking for the cumulative OS updates, maybe parsing the CBS data from the registry is an option.
Q: (preceding texts of firsts "~" of following texts of firsts "_for_" of names of it, (("1 Jan 1601 00:00:00 -0000" as time + it * second) of ((item 0 of it * 4294967296 + item 1 of it) / 10000000) of (values "InstallTimeHigh" of it as integer, values "InstallTimeLow" of it as integer)) ) of keys whose (exists value "CurrentState" whose (it = 96) of it) of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\" of native registry
A: KB5016705, ( Thu, 08 Sep 2022 04:00:05 +0100 )
T: 166.037 ms
I: plural ( substring, time )
I think this is one of those cases where you first have to figure out how to obtain the info from the OS irrespective of the tool that will be used, then try to adapt that into the inspection/reporting tool.