hands-on lab

Inspecting Resources using Azure CLI

Up to 30m
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.


Azure CLI is the command-line interface provided by Azure team with a set of commands used to create and manage Azure resources. While working with Azure CLI, you will get hands-on experience with different types of actions to manage the resources.

While working with the Azure Portal is convenient. However, there might be certain edge cases when you need to implement automation or process around automatic provisioning of the infrastructure. It is achieved by scripting the deployments and reusing them multiple times to have identical environments instead of managing the command line's cloud infrastructure.

In this beginner lab, you will learn Azure CLI's basic commands to interact with existing Azure resources.

Learning Objectives

Upon completion of this lab, you will be able to:

  • Understand how Azure CLI works
  • Use CLI Modules to interact with Azure resources
  • Use the find module to search commonly used CLI commands

Intended Audience

  • Candidates for Azure Administrator Certification
  • Cloud Engineers
  • Cloud Architects
  • DevOps Engineers


Familiarity with the following will be beneficial but is not required:

  • Azure Services basics
  • PowerShell familiarity is beneficial but not required

The following courses/courses and labs can be used to fulfill the prerequisite:


May 2nd, 2023 - Updated theia to include autosave

Environment before

Environment after

About the author

Learning paths

Parveen is an Azure advocate with previous experience in the professional consulting services industries. He specializes in infrastructure and DevOps with a wide range of knowledge in security and access management. He is also an Azure Certified - DevOps Engineer Expert, Security Engineer, Developer Associate, Administrator Associate, CompTIA Certified - Network+, Security+, and AWS Cloud Practitioner.
Parveen enjoys writing about cloud technologies and sharing the knowledge with the community to help students upskill in the cloud.

Covered topics

Lab steps

Logging into Azure using Azure CLI For The First Time
Exploring Azure CLI