Provision VM using Azure PowerShell
Prepare the environment Open PowerShell ISE as an administrator and run this command below command to set the script execution policy. Command: Set-ExecutionPolicy -ExecutionPolicy Unrestricted Run the below command to install the AzureRM module if it has not been installed yet. It will install all the required packages from Microsoft