Question

Difficulty: EasyAzure Portal, CLI, PowerShell, and Cloud Shell

An administrator needs to manage Azure resources by running Azure PowerShell commands locally. On which of the following operating systems can the administrator install and run Azure PowerShell?

  1. A
    Windows only
  2. B
    Windows and macOS only
  3. Windows, macOS, and LinuxAnswer
  4. D
    Windows and Linux only

Answer

Azure PowerShell can be installed and run locally on Windows, macOS, and Linux.
Azure PowerShell is cross-platform and built on PowerShell Core. It can be installed and executed locally on Windows, macOS, and Linux operating systems.

Step-by-Step Solution

1
Recall the architecture of Azure PowerShell.
Azure PowerShell is built on PowerShell Core, which is a cross-platform version of PowerShell.
To determine which operating systems are supported by the underlying shell.
2
Identify the supported platforms for PowerShell Core.
PowerShell Core supports Windows, macOS, and Linux.
Since Azure PowerShell runs on PowerShell Core, it inherits compatibility with all three operating systems.

Key Concept

Cross-platform compatibility of Azure management tools
Rate this question