Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

discovery workstation scans - incorrect serial number

Ravish Shetty
Tera Guru

hi all,

discovery horizontal pattern for workstations are pulling serial number from win32_baseboard as 'L1XXXXXXXXXX'

find_real_file.png

 

instead, they are expecting the serial number pulled from Win32_SystemEnclosure which is 'PCXXXXXXXXX'. this is the same number we get from the SCCM imports. not sure whats going on here...

 

find_real_file.png

1 ACCEPTED SOLUTION

chuckm
Giga Guru

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:

BaesBoard Serial number is populated on the serial number record instead of the BIOS Serial number f...

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

View solution in original post

5 REPLIES 5

Roopesh Anreddy
ServiceNow Employee

You can follow this KB. This applies to "Windows OS - Desktops" pattern as well:

https://hi.service-now.com/kb_view.do?sys_kb_id=5a902894dbeaf7402be0a851ca9619d8

thanks, Roopesh, I haven't tried it yet but this looks like it should work. it's a shame that it might be a customization.

chuckm
Giga Guru

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:

BaesBoard Serial number is populated on the serial number record instead of the BIOS Serial number f...

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

Has anybody been able to test the new solution provided by ServiceNow in Paris?

I can see the new pattern tests the new property called "mid.win.baseboard.or.bios.insertion".

And sets a variable in the pattern called "baseboardOrBiosSerial".

But I cannot seem to find where it tests that variable later in the code.

Unfortunately I don't have an instance that is running Discovery that I can upgrade to Paris just yet.

Regards

Martin