Forum Discussion
AB21805
Jun 08, 2023Bronze Contributor
How do I set a automation to stop a VM on weekends & evenings
Hi All,
I want to stop a VM during non working hours which are evenings and weekends, can this been done?
AB21805 yes you can use the auto-shutdown from the virtual machine blade
or you can create a runbook to stop and start VMs based on a schedule
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily.
- AB21805Bronze Contributor
Hi Thanks for the reply
Start/Stop VMs during off hours - V2 is the only option now which has different options
Any ideas on what to put for them
- The StartStop V2 will create its own resources so you need to define the name of your resources in each
Azure function App Name:
The name of the Azure Function App that will perform the action on the VM(s)
Application Insight Name: The name of the Application Insights instance that will hold the analytics for Start/Stop.