To power on a VM from ESXI command line, follow the below steps:

Step 1: List down all VMs

vim-cmd vmsvc/getallvms 

or if you know the name of the VM then filter the list using grep like below

vim-cmd vmsvc/getallvms | grep vm name 

Note: The first (leftmost) column of the output shows the vmid.

Step 2:Check the power state of the virtual machine with the command:

vim-cmd vmsvc/power.getstate vmid

Step 3:Power-on the virtual machine with the command:

vim-cmd vmsvc/power.on vmid