Skill 3.3.2

Describe Azure Cloud Shell, Azure CLI, and Azure PowerShell

Key Concepts

Azure Cloud Shell runs in the browser, from the Azure portal or shell.azure.com. It is already authenticated with your Azure credentials, so you do not need to install or sign in to anything, and it includes the Azure CLI, Azure PowerShell and common tools such as Git, text editors and AzCopy. You choose either the Bash or the PowerShell experience, and you can attach a storage account to keep files between sessions or use an ephemeral session without storage.

The Azure CLI is a cross-platform command-line program that uses commands such as az group create and az vm list; it is popular with Bash users. Azure PowerShell is a set of PowerShell cmdlets (the Az module) such as New-AzResourceGroup and Get-AzVM; it suits administrators who already use PowerShell. Both can be installed on Windows, Linux and macOS, offer the same capabilities, can be used interactively or in scripts, and send their requests to Azure Resource Manager. Choosing between them is mostly a matter of preference and existing skills.