Deploying an Azure IaaS VM using PowerShell

I recently had to deploy some new VMs and wanted to use PowerShell and also join them to a domain and get the anti-malware extension used. Below is the PowerShell I used. You would need to modify the variables in the below to match your own domains.


One thought on “Deploying an Azure IaaS VM using PowerShell

  1. Note the TypeHandlerVersion to join the domain now needs to be 1.3. Also the account type for storage should now be Premium_LRS.

Leave a Reply