Check VMware Boot Type UEFI or BIOS Legacy

You can use the following command at the ESXi cli to find out if you are booting UEFI or Legacy BIOS mode:

vsish -e get /hardware/firmwareType