Added power on for ESXi, and fixed an error in power off