How do I set a automation to stop a VM on weekends & evenings

AB123 356 Reputation points
2023-06-08T09:03:34.5966667+00:00

Hi All,

I want to stop a VM during non working hours which are evenings and weekends, can this been done?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,326 questions
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,336 questions
{count} votes

Accepted answer
  1. Prrudram-MSFT 27,711 Reputation points
    2023-06-08T10:27:13.35+00:00

    Hello @AB123

    Thank you for reaching out to the Microsoft Q&A platform.

    Yes, that can be done using Azure Automation. You can use the Azure Automation Start/Stop VMs during off-hours feature to stop a VM during non-working hours.

    This feature allows you to schedule the start and stop times for your VMs, so you can configure it to stop your VMs in the evenings and on weekends. You can find more information on how to configure this feature in the following document: ttps://docs.microsoft.com/en-us/azure/automation/automation-solution-vm-management-config

    If you are satisfied with the answer, please "Accept as Answer" and give a thumbs up, so that you can help others in the community looking for remediation for similar issues.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.