Windows OS version Discovery

geethunannapane
Giga Contributor

OOB ServiceNow disocvery uses Win32_OperatingSystem.Version WMI path to find the version of Operating System. With this it is getting the version something like "10.0.15063" for a windows machine.

With winver command on the machine, I can see the version of the same windows machine as Version 1703 (OS Build 15063.1324)

I want discovery to pull 1703 instead of 10.0.15063 as version.

Please help me to achieve this!!!

--Thanks

2 REPLIES 2

Michael Skov2
Kilo Guru

You would need to edit the Windows OS - Servers pattern. The info is coming from the variable named $osInfo. Check the step named "Insert System, OS and CPU data to cmdb_ci_win_server" - i dont remember by hand how the osInfo is created. You need to backtrack that.

Erick18
Mega Guru

Hello, 

Were you able to resolve this issue?

 

Thanks,

Erick