Skip to main content

Use Azure CLI to Create a Virtual Machine

Hands-On Lab


Photo of

Training Architect





In this lab we walk through how to use the Azure CLI (az cli) to create a Virtual Machine within a Virtual Network in Azure. This beginner level hands-on lab covers several concepts, including:

  • Azure CLI syntax
  • Azure CLI help
  • Azure CLI default and assumed parameters

This hands-on lab uses the Azure Cloud Shell, so you don't have to install any software and can follow along from work or at home using the web browser.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.