Use dmidecode or wmic bios to remotely get serial numbers from your servers or from a PC that is buried under a desk etc.
For Linux/Unix use dmidecode and for Windows use wmic bios.
#dmidecode | grep “Serial Number”
c:\wmic bios get serialnumber
Run either command without arguments and you get much more than just serial numbers, for example you can get motherboard details and bios versions. If you are running some generic system it might not have a serial number available but Dell, HP, etc should return the info.
No comments:
Post a Comment