Azure CLI

A cross-platform command-line tool for managing Azure resources with commands and scripts.

Azure CLI is a cross-platform command-line tool that lets administrators and developers create, configure, and manage Azure resources by running az commands in a shell or scripts. It runs on Windows, macOS, and Linux, and is also available in Azure Cloud Shell, letting teams automate repetitive tasks without the portal. The key exam distinction is between Azure CLI and Azure PowerShell: both are scripting tools that can do nearly everything the portal can, but CLI uses az commands with Bash-friendly syntax while PowerShell uses cmdlets like New-AzResourceGroup. Choosing between them comes down to preference and existing scripting skills, not capability.

PlayPrepHQ study notes are written and reviewed against primary exam sources. How we create & review content →

Related terms

Back to Azure Management and Governance