you can run this in putty.exe
#Autostart VM
xe pool-list
xe pool-param-set uuid=POOL_UUID other-config:auto_poweron=true
xe vm-list
xe vm-param-set uuid=VM_UUID other-config:auto_poweron=true
xevm-param-set uuid=VM_UUID other-config:auto_poweron=true