Visit below KB article. There are ssh commands to get the hardware details.
Use Putty to connect to your esxi server. Incase you fail to connect esxi using ssh. you will have to enable ssh, below is the guide for the same.
----------------------------------------------
Give credits if my answers help you.