Thursday, June 21, 2012

How to get Hardware serial Number, product version, etc in ESXi5(vSphere 5)

I just tried using dmidecode on ESXi5, which was not working, looked around for the command to gather information about the serial number, product information, firmware version. Want to keep this recorded.

Use the following command to get those information.

SSH to ESXi with root login.

go to /var/log
# cd /var/log

Now use the following command.

/var/log # smbiosDump

will provide all the available hardware details.

if you want to filter to certain things use grep with that as follows.

/var/log # smbiosDump | grep System -A10
--
System Info: #
Manufacturer:
Product:
Version:
Serial:
UUID:
Wake-up:
Board Info:
Manufacturer:
Product:
Version:
Serial:
Asset Tag: "(none)"

No comments:

Post a Comment