Powershell Script: Task scheduler – Scheduling shutdown Azure VMs

In this article, you will be able to setup task scheduler to run an Azure PowerShell script.
Automatic shutdown VMs will be used as an example – save money!!

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”


Comments

Popular posts from this blog

ADFS WAP: How to configure SSO with RDWeb

Secure RDWeb using Azure Multi-Factor Authentication

Collect AzureStack Update Verbose log