Skip to content

Instantly share code, notes, and snippets.

@pascals-msft
Last active March 8, 2017 18:41
Show Gist options
  • Save pascals-msft/693a3f2ea8a8dd48954150b13dcbb3b7 to your computer and use it in GitHub Desktop.
Save pascals-msft/693a3f2ea8a8dd48954150b13dcbb3b7 to your computer and use it in GitHub Desktop.
How to create a VS 2017 VM in Azure using Azure CLI V2
# Azure CLI V2: https://github.com/Azure/azure-cli
# adapt location, resource group name, VM name, VM size, user name and password
az group create -l northeurope -n rg-vs2017
az vm create --image MicrosoftVisualStudio:VisualStudio:VS-2017-Comm-WS2016:latest -g rg-vs2017 -n vm-vs2017 --size Standard_DS2_v2 --os-type windows --admin-username azureuser --admin-password Secret.Pwd.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment