Create virtual machines with the Azure CLI 2.0

In this tutorial, you learn all of the steps involved in setting up a virtual machine with the Azure CLI 2.0. The tutorial also covers output queries, Azure resource reuse, and resource cleanup.

This tutorial can be completed with the interactive experienced offered through Azure Cloud Shell, or you may install the CLI locally.

Use ctrl-shift-v (cmd-shift-v on macOS) to paste tutorial text into Azure Cloud Shell.