Manufacturer Serial Numbers on a VM Host
If you're like me you sometimes forget to log all serial numbers before shipping off a device (not good). But if you do something like this there is an easy way to find that serial number and even the product model that you shipped off.
Command:
smbiosDump | egrep '(Product|Serial:)'
Output:
Serial: "XXX"
Serial: "XXX"
Serial: "XXX"
Serial: "XXX"
Serial: "XXX"
Serial: "XXX"
Serial: "XXX"
Serial: "XXX"
Product: "System x3550 M3 -[7944AC1]-"
Serial: "XXX"
Product: "XXX"
Serial: "XXX"
Serial: "none"
Description of the command:
smbiosDump will dump a bunch of hardware information. What you're looking for are they keywords 'Product' and 'Serial:'. You will see your device product model first and it will be followed by that device's serial number (see highlighted).
There's probably a prettier way of grabbing this information but this is a quick and dirty way of getting the output that's useful.
No comments:
Post a Comment