VMware Cloud Community
TDA90
Contributor
Contributor
Jump to solution

ESXi 6 - Start a VM at a specific time

Hello Everyone,

I wanted to know if it's possible to configure a VM on ESXi to power on at a specific time.

Request of an user is that the VM will shutdown automatically at 10PM, and boot up at 6PM.

It's possible?
Thanks for helping Smiley Happy

0 Kudos
1 Solution

Accepted Solutions
brunofernandez1
Jump to solution

the option that was recommended from the other guys you need a vCenter Server....as I unterstand you are working with standalone esxi server...

so have to do it with Powershell or Cronjobs

------------------------------------------------------------------------------- If you found this or any other answer helpful, please consider to award points. (use Correct or Helpful buttons) Regards from Switzerland, B. Fernandez http://vpxa.info/

View solution in original post

0 Kudos
5 Replies
brunofernandez1
Jump to solution

I would do this with Powercli and a scheduled task on a windows machine.

you could also create a cron job on the esxi server....but I would recommend to use powercli...there are quite more examples to start and shutdown vms out there...

------------------------------------------------------------------------------- If you found this or any other answer helpful, please consider to award points. (use Correct or Helpful buttons) Regards from Switzerland, B. Fernandez http://vpxa.info/
0 Kudos
dhanarajramesh
Jump to solution

if you are using vcenter, then you may use Change the power state of a virtual machine option in  schedule tasks. 

0 Kudos
vXav
Expert
Expert
Jump to solution

dhanarajrameshdhanarajramesh said it, that's the way to go indeed.

Go in the manage tab of your VM > Scheduled task > Schedule a new task > Power On

Add your scheduling options, you can even set an email alert and that's you.

0 Kudos
TDA90
Contributor
Contributor
Jump to solution

From the web client?

I've installed the webconsole (it was not built in : ESXi Embedded Host Client )

vmware.png

But I cannot find the option for the VM...

0 Kudos
brunofernandez1
Jump to solution

the option that was recommended from the other guys you need a vCenter Server....as I unterstand you are working with standalone esxi server...

so have to do it with Powershell or Cronjobs

------------------------------------------------------------------------------- If you found this or any other answer helpful, please consider to award points. (use Correct or Helpful buttons) Regards from Switzerland, B. Fernandez http://vpxa.info/
0 Kudos