An administrator wants to use the Azure CLI locally on a Windows 11 computer to manage cloud resources. Which action should the administrator take?
- ADeploy a Linux virtual machine, as the Azure CLI cannot run natively on Windows.
- BUse the Azure Portal, because Windows 11 does not support command-line management tools.
- Install the Azure CLI directly on the Windows 11 computer.Answer
- DInstall the Azure PowerShell module, as the Azure CLI is only compatible with macOS and Linux.
Answer
Install the Azure CLI directly on the Windows 11 computer.
The correct action is to install the Azure CLI directly on the Windows 11 computer. The Azure CLI is a cross-platform command-line utility that can be installed natively on Windows, macOS, and Linux, allowing administrators to manage resources using identical command syntax across all supported operating systems.
Step-by-Step Solution
Key Concept
Azure CLI is cross-platform and runs natively on Windows, macOS, and Linux.