How to add tasks to shutdown VM and to restart VM automatically

SPAKE, SHERYL I 0 Reputation points
2023-07-03T16:47:22.7333333+00:00

New to Azure, To save money, I would like to add a task to stop VM and another task to restart VM. can this be dome automatically and how? Thanks

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

2 answers

Sort by: Most helpful
  1. AirGordon 7,150 Reputation points
    2023-07-03T18:52:45.22+00:00

    It depends on how you're creating the VM's.

    0 comments No comments

  2. Andreas Baumgarten 123.4K Reputation points MVP Volunteer Moderator
    2023-07-06T11:27:10.3633333+00:00

    Hi @SPAKE, SHERYL I,

    maybe this is helpful to get your requirement done:

    Start/Stop VMs during off-hours overview


    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards

    Andreas Baumgarten

    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.