VMware Cloud Community
de68muesa
Contributor
Contributor
Jump to solution

autostart- and shutdown of Virtual Machines

Hello Everyone,

at the moment iam trying to find a possibility to shutdown and start virtual machines automatic.

The Virtual Machines are in "non persistend mode" to prevent changes beeing active after system shutdown and restart.

Is there a possibility to shutdown virtual machines, lets say, at 10pm and start it again 5 minutes later to get the clean installation of the vm?

Iam looking for to hearing from you. Thanks for help.

Regards,

Sascha

0 Kudos
1 Solution

Accepted Solutions
UmeshAhuja
Commander
Commander
Jump to solution

Hi,

Create a scheduled task that changes the power state


1  Click the Scheduled Tasks button in the navigation bar.The list of scheduled tasks appears.

2  Right-click and choose New Scheduled Task, or choose File > New > Scheduled Task.The Select a Task to Schedule window appears.

3  Select Change the power state of a virtual machine, and click OK.The Change a Virtual Machine’s Power State wizard appears and displays the Select

Virtual Machine page.

4  Select the virtual machine whose state you want to change.The Select a Power Operation page appears.

5  Select a Power Operation option, and click Next.

6  If you selected a Power On operation, the Select Host page appears. Select the host which will power on the virtual machine.

7  Click Next.The Schedule the Task screen appears.

8  Name the task, give a description, and specify the timing of the task.To display to the calendar, select Later, and click the drop-down arrow to choose a

date from the displayed calendar. A red circle indicates today’s date and a dark circle indicates the scheduled date.

9  Click Next.

10  Click Finish.

Thanks n Regards
Umesh Ahuja

If your query resolved then please consider awarding points by correct or helpful marking.

View solution in original post

0 Kudos
2 Replies
UmeshAhuja
Commander
Commander
Jump to solution

Hi,

Create a scheduled task that changes the power state


1  Click the Scheduled Tasks button in the navigation bar.The list of scheduled tasks appears.

2  Right-click and choose New Scheduled Task, or choose File > New > Scheduled Task.The Select a Task to Schedule window appears.

3  Select Change the power state of a virtual machine, and click OK.The Change a Virtual Machine’s Power State wizard appears and displays the Select

Virtual Machine page.

4  Select the virtual machine whose state you want to change.The Select a Power Operation page appears.

5  Select a Power Operation option, and click Next.

6  If you selected a Power On operation, the Select Host page appears. Select the host which will power on the virtual machine.

7  Click Next.The Schedule the Task screen appears.

8  Name the task, give a description, and specify the timing of the task.To display to the calendar, select Later, and click the drop-down arrow to choose a

date from the displayed calendar. A red circle indicates today’s date and a dark circle indicates the scheduled date.

9  Click Next.

10  Click Finish.

Thanks n Regards
Umesh Ahuja

If your query resolved then please consider awarding points by correct or helpful marking.
0 Kudos
de68muesa
Contributor
Contributor
Jump to solution

Word!

It works fine, thank you Smiley Happy.

Regards

0 Kudos