Azure Virtual Machine auto shutdown and turn on?

Umar Farooq 1 Reputation point
2022-04-05T21:36:17.747+00:00

I wanted to know if we can make a slight adjustment for AVD's to auto shutdown and get restarted automatically following the below schedule

Daily
Off @ 1900
On @ 0730

For Weekends
On Fridays – Off at 1900 until 0730 on Monday Mornings

I am using Auto Shutdown and Automation Task to start the machine. But I want the shouldn't be started the machine on Weekends.

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,770 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Takahito Iwasa 4,851 Reputation points MVP
    2022-04-05T22:40:02.547+00:00

    Hi, @Umar Farooq

    You can specify the day of the week by using the recurring mode in the runbook schedule as follows:

    You can start and stop the VM from Monday to Friday respectively.

    190314-image.png

    2 people found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.