To discover Patch on the Windows servers

Suman21
Tera Expert

We have requirement to Discovery the Patches(cmdb_ci_patches) table. However, I would like to know

if the discovery will be able to give us the information like.. what is the patch installed, Patch version, last installed patch.

There are some postings in community regarding this but it's almost 3 years back.. I am expecting Servicenow might have upgraded it in new versions.

If not, what is the best way to scan the patches and update to CMDB.

1 ACCEPTED SOLUTION

Robin J_
Tera Guru

Hello Suman21,
Came across this thread and what you can do is create an extension for Windows* pattern to catch this using "win32_quickfixengineering" - for reference: https://powershell.one/wmi/root/cimv2/win32_quickfixengineering

Example from a demo environment we have:

RobinJ__1-1671017352350.png

 

We have created an extension for "Windows OS - Servers" pattern:

RobinJ__2-1671017441934.png

 
Step "Get HotFixID":

RobinJ__3-1671017468048.png


Step "Set HotFixID":

RobinJ__4-1671017497730.png


Also referring to the earlier link, there is a lot of other values from "win32_quickfixengineering" which probably cover your use case(s)/need(s):

RobinJ__5-1671017550536.png



Kind regards,
Robin

View solution in original post

15 REPLIES 15

Hi Girija,

Any luck on this, since we would like to pull the last patch date for the linux servers please.

 

Thank you

Selva