How does discovery find the asset tag on a Windows and Linux computer?

BasantChauhan
Tera Contributor

How can I get asset tag data for agent based discovery when not using third party integrations like SG-Intune, SCCM etc.

Is it possible to get asset tag data in agentless discovery? If yes then how?

2 REPLIES 2

Mark Manders
Mega Patron

Where is it stored? An 'asset tag' is just a unique number on the asset. If you have it somewhere stored, you can integrate it to ServiceNow. But with your limited information, it's hard to tell you how.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

VikMach
Mega Sage

@BasantChauhan, Asset Tag property is saved with attribute name "SerialNumber". Cloud VM's or Cloud Server's do not have Asset Tags in general (unless assigned a label/tag). If you run the WIM/CIM commands to get the Asset tags, you would get alpha-numeric code like snip below. (You ca run this in your PC to see how it works.)

VikMach_0-1750072871562.png

 

When you run the similar command on a Physical machine to which an Asset tag is assigned then you would get proper 6 or what ever digits/characters as output.

 

You can retrieve this through a custom pattern or else run the PowerShell command in the Server where you have installed your Mid-Server agent to fetch the desired property. You can change the filter to get any other attribute as you like.

Let me know if this helped!

Regards,
Vikas K