I wanted to find out the serial number and the model of my Esxi host using SSH. I know we can find this out using the vcentre client under the hardware status tab but I wanted to SSH and find out the info.
It was fairly simple to do..
- Start the SSH service on the host
- Open up putty and connect using SSH to the host
- Run the command smbiosDump | egrep '(Product|Serial)'