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,882 times
Add to favorites
Windows Azure
E-mail Twitter del.icio.us Digg Facebook
  • Port to Az PowerShell?
    1 Posts | Last post August 21, 2019
    • Has anyone ported this script to Az PowerShell and published the script?
  • Please put this on the PowerShell Gallery
    2 Posts | Last post January 04, 2019
    • 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
    • +1 on having this resource on the PS Gallery, very useful, thanks for sharing!
  • InvalidScheduledid
    1 Posts | Last post November 05, 2018
    • Hi Floris,
      I get an error when i try to schedule a VM that is not from dev/test labs..
      The error is invalidscheduleid
      Thank you
  • 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.