Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In this article, you will be able to setup TASK schedule to run Azure PowerShell script.
Automatic shutdown VMs will be used as an example – Save Money!!
Table of Contents
- 1. Create a schedule
- 2. Triggers(Daily in the example)
- 3. Enter “powershell.exe” and ___location of the script in “Add arguments”
- Example of “PowerShell scripts to shutdown VM script”
1. Create a schedule
2. Triggers(Daily in the example)
3. Enter “powershell.exe” and ___location of the script in “Add arguments”
Example of “PowerShell scripts to shutdown VM script”
Download script from : https://social.technet.microsoft.com/wiki/contents/articles/30929.azure-automation-step-by-step-guide-for-auto-shutdown-virtual-machine.aspx