Azure Management Tools: Portal, CLI, PowerShell, and Cloud Shell
Key Takeaways
- The Azure Portal is a web-based GUI for managing all Azure resources with dashboards, resource creation wizards, and monitoring.
- Azure CLI is a cross-platform command-line tool that uses bash-like syntax (az commands) for managing Azure resources.
- Azure PowerShell uses PowerShell cmdlets (verb-noun format like Get-AzVM) for Azure management.
- Azure Cloud Shell is a browser-based shell available in the Azure portal that supports both Bash and PowerShell.
- All management tools (Portal, CLI, PowerShell, REST API, SDKs) communicate through Azure Resource Manager (ARM).
Azure Management Tools: Portal, CLI, PowerShell, and Cloud Shell
Quick Answer: Azure Portal = web GUI. Azure CLI = cross-platform bash-like commands. Azure PowerShell = PowerShell cmdlets. Cloud Shell = browser-based (both Bash and PowerShell). ALL tools communicate through Azure Resource Manager (ARM).
Azure Portal
The Azure Portal (portal.azure.com) is a web-based, unified console for managing Azure resources. It provides a graphical user interface (GUI) for all Azure operations.
Key features:
- Customizable dashboards — Pin resources, metrics, and reports for quick access
- Resource creation wizards — Step-by-step guided creation of Azure resources
- Search — Find resources, services, and documentation quickly
- Cloud Shell — Built-in terminal (Bash or PowerShell) accessible from the portal
- Cost analysis — View spending and budgets
- RBAC management — Assign roles and permissions
Best for: Visual management, learning Azure, one-off operations, dashboarding
Azure CLI
Azure CLI is a cross-platform command-line tool for managing Azure resources. It runs on Windows, macOS, and Linux with bash-like syntax.
Syntax pattern: az [group] [subgroup] [command] [--parameters]
Examples:
az group create --name MyRG --location eastus— Create a resource groupaz vm create --name MyVM --resource-group MyRG --image Ubuntu2204— Create a VMaz vm list --output table— List all VMs in table format
Best for: Scripting, automation, developers comfortable with bash
Azure PowerShell
Azure PowerShell is a set of PowerShell modules (Az module) for managing Azure resources using PowerShell's verb-noun syntax.
Syntax pattern: Verb-AzNoun [-Parameters]
Examples:
New-AzResourceGroup -Name MyRG -Location eastus— Create a resource groupNew-AzVM -Name MyVM -ResourceGroupName MyRG— Create a VMGet-AzVM | Format-Table— List all VMs
Best for: Windows administrators, PowerShell scripting, complex automation with pipelines
Azure Cloud Shell
Azure Cloud Shell is a browser-based shell environment accessible from:
- The Azure Portal (top-right icon)
- shell.azure.com
- VS Code (Azure Account extension)
- Azure Mobile App
Key features:
| Feature | Description |
|---|---|
| Both shells | Choose Bash or PowerShell |
| Pre-installed tools | Azure CLI, PowerShell, Terraform, kubectl, git, and more |
| Persistent storage | Backed by an Azure Files share (5 GB free) |
| Authenticated | Automatically authenticated with your Azure credentials |
| No installation | Works from any browser — nothing to install locally |
| Integrated editor | Built-in code editor for editing files |
Requirement: Cloud Shell requires an Azure Storage account for persisting files between sessions. It prompts you to create one on first use.
Azure Mobile App
The Azure Mobile App lets you manage Azure resources from your iOS or Android device:
- Monitor resource health and alerts
- Run CLI/PowerShell commands via Cloud Shell
- Quickly diagnose and fix issues
- View dashboards and metrics
Management Tool Comparison
| Tool | Interface | Platform | Best For |
|---|---|---|---|
| Azure Portal | GUI (web) | Any browser | Visual management, learning |
| Azure CLI | Command-line | Windows, macOS, Linux | Bash scripting, DevOps |
| Azure PowerShell | Command-line | Windows, macOS, Linux | PowerShell scripting, Windows admins |
| Cloud Shell | Browser shell | Any browser | Quick tasks, no local install needed |
| Mobile App | Mobile GUI | iOS, Android | On-the-go monitoring |
| REST API | HTTP requests | Any platform | Custom integrations, automation |
| Azure SDKs | Libraries | .NET, Java, Python, JS, Go | Application development |
On the Exam: Remember that ALL management tools (Portal, CLI, PowerShell, REST API, SDKs) send requests through Azure Resource Manager (ARM). ARM is the single control plane for Azure — it authenticates, authorizes, and routes requests.
What is required to use Azure Cloud Shell for the first time?
Which Azure management tool uses verb-noun cmdlet syntax like "Get-AzVM"?
All Azure management tools (Portal, CLI, PowerShell, REST API) communicate through which service?