An IT engineer uses a personal computer running Linux to perform daily administration. The engineer needs to execute Azure PowerShell cmdlets locally to manage virtual machines.
What should the engineer do to run these command-line tools locally?
- Install Azure PowerShell directly on the Linux computer.Answer
- BInstall Azure CLI, because Azure PowerShell is only supported on Windows operating systems.
- CUse the Azure Portal exclusively, because command-line management tools are restricted to Windows environments.
- DConfigure a Windows virtual machine first, because local Azure command-line tools are not compatible with Linux.
Answer
Install Azure PowerShell directly on the Linux computer.
Azure PowerShell is built on top of PowerShell Core, which is cross-platform. This allows administrators to install and run Azure PowerShell cmdlets natively on Windows, macOS, and Linux computers.
Step-by-Step Solution
Key Concept
Azure PowerShell is a cross-platform command-line tool that can be installed locally on Windows, macOS, and Linux.
Estimated Time:45s