How to get the Serial Number from an ESXi Host

The easiest way to retrieve the serial number from an ESXi host is to use the esxcfg-info command.

First login via SSH and run the below command:

[[email protected]:~] esxcfg-info | grep -w "Serial Number"
      |----Serial Number............................................96QP01Y
      |----Enclosure Serial Number..................................96QP01Y

This command by itself outputs a lot of information so you may want to pipe it though less.

[[email protected]:~] esxcfg-info | less

Be the first to comment

Leave a Reply