With Vpshere5, vmware have added a benefit of being able to access the esxi console via SSH/Putty so you don’t have to visit the esxi server.
To do this, login to your esxi host and type dcui. See screen shot below taken from within a putty session. (Click image to enlarge).
Use dcui to get to the gui, how do you get back to prompt?