Is it possible to modify the SNcSerialNumber script to take the chassis serial number as the default instead of the baseboard serial number when new CI's are created via ServiceNow Discovery?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎10-05-2018 04:59 AM
Hi - is it possible to modify the SNcSerialNumber script to take the chassis serial number as the default instead of the baseboard serial number when new CI's are created via ServiceNow Discovery?
We have just started to use Discovery, and whilst it is great that the tool can pick up multiple serial numbers associated with a single CI, it appears to default to the baseboard serial number when creating a new record, which then causes us an issue with matching to imported asset records, which for obvious reasons are created using the chassis CI (which is always the one provided by the manufacturers inventory when you take receipt of the goods).
- Labels:
-
Enterprise Asset Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2019 09:55 AM
Hi Alex did you ever resolve this? I have a similar question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2019 08:13 PM
This can be done by modifying the discovery pattern for 'Windows OS - Desktops'.
Navigate to Pattern Designer > Discovery Pattern and select Windows OS - Desktops'. Once there, under the 'Identification Section' select 'discovery. From there will be able to see the discovery steps. Double-click on, '3. Windows - Hardware Information' to expand the steps. From there you will need to swap the 'Add Win32_BaseBoard.SerialNumber to temporary table' and 'Add Win32_BIOS.SerialNumber to temporary table' so that 'Win32_BaseBoard.SerialNumber' is discovered first and 'Win32_BIOS.SerialNumber' is discovered after that.
This should fix that issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-30-2020 06:56 AM
The modifications that lister described are documented in KB article KB KB0749739 How to make 'Windows OS - Servers' Pattern return Bios Serial number instead of Baseboard Serial num.... Since the modifications for Option #1 (swap steps 3.10 and 3.12) are part of a shared library it affects 2 Patterns: Windows OS - Desktops and Windows OS - Servers.
The baseboard/BIOS serial number issue has been discussed in these other community articles:
Computer Discovery. How to replace baseboard serial number with bios
After upgrading to London, Discovery is picking baseboard serial number as CI serial number
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-13-2020 08:59 AM
ServiceNow has created an out of the box solution to choose the BIOS Serial Number instead of the Baseboard Serial Number for the Windows OS - Servers pattern. The update is being released in Paris per KB KB0786378:
New mid server property introduced "mid.win.baseboard.or.bios.insertion" , based on the property value (true / false) pattern will insert BaseBoard or Bios Serial number.
If false - BaseBoard number will be populated
If true - BIOS serial number will be inserted