First, you have to enabled SSH access to your ESXi node. You can do that in Configuration > Security Profile > Services > SSH in vSphere.
Sometime administrator cannot shutdown virtual machine in normal way. So, it’s simple how to do it by force.
1. Fire display SR’s list (Storage Repository)
# xe sr-list uuid ( RO) : 252cf868-5ff7-5d06-5607-4b4ef111cdf8 name-label ( RW): Local Storage 2 name-description ( RW): host ( RO): rohan type ( RO): ext content-type ( RO): user
In XenServer 6.x automatic start virtual machines has been removed because it caused problems with the functionality of HA (more information on the Citrix). Autostart functions can be restored by using the CLI.