Enable or disable auto-shutdown on Azure virtual machines

Sets the auto-shutdown property for a virtual machine hosted in Microsoft Azure.

 
 
 
 
 
5 Star
(1)
279 times
Add to favorites
Windows Azure
7/11/2018
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • Please put this on the PowerShell Gallery
    1 Posts | Last post October 02, 2018
    • Hi Floris,
      
      Thank you, thank you, thank you. This is a beautiful script which I use to make sure that my Azure VMs don't shut down when I am doing a presentation (yes I have had that :-) ) and then set them back to shut down at a time my wife feels is appropriate so that I dont spend too long coding. This makes it so easy and I wanted to thank you
      
      I would also say please add this to the PowerShell Gallery as that is the recommended method of sharing PowerShell modules and scripts and making them available for others. If you need any guidance, I would be happy to help, feel free to ask me
      
      Regards
      
      Rob
  • Support setting email address notification?
    2 Posts | Last post July 11, 2018
    • This is a useful script given AzureRM.Compute still lacks support for setting VM auto-shutdown.
      
      Any chance you could add the ability to set email address notification?
    • Hi Craig,
      
      thanks for the feedback. I've added the option to define the notification e-mail address.