November 2017
Intermediate to advanced
276 pages
7h 6m
English
Creating an Azure VM using the Azure CLI 2.0 is pretty easy, and is only one command, shown as follows:
az vm create --resource-group PacktPub --name PacktPubVMCLI --location westeurope --size Standard_DS2 --image win2016datacenter --storage-account packtpubsacli --use-unmanaged-disk --vnet-name PacktPubvNet --vnet-address-prefix 10.0.0.0/8 --subnet PacktPubSubnet --subnet-address-prefix 10.0.1.0/24 --admin-username pbuser --admin-password P@cktPub@2017