Windows OS version Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2018 02:27 PM
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
- Labels:
-
Discovery

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-17-2018 11:34 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2022 06:01 AM
Hello,
Were you able to resolve this issue?
Thanks,
Erick