Provisioning Azure VM Using PowerShell

Creating Virtual Machine using PowerShell is quite easy. You just need to replace the parameters. VM required to be placed in proper Resource Group, Storage Account to hold the disks, Virtual Network to identify on network and security stuff, IPs for communication. All these has bundled in one script below

1. In PowerShell use below command in order to connect with Azure

Login-AzureRmAccount



2. Run the below script