Soru

Zorluk: KolayAzure Portal, CLI, PowerShell, and Cloud Shell

A company is choosing command-line utilities for managing Azure resources. The development team uses a mix of Windows, macOS, and Linux workstations. Which two statements correctly describe the operating system compatibility of Azure CLI and Azure PowerShell?

  1. Azure CLI can be installed and run locally on Windows, macOS, and Linux operating systems.Cevap
  2. Azure PowerShell can be installed and run locally on Windows, macOS, and Linux operating systems.Cevap
  3. C
    Azure CLI is designed exclusively for Linux and macOS environments and cannot be run locally on Windows.
  4. D
    Azure PowerShell is restricted to Windows environments and cannot be run locally on macOS or Linux.

Cevap

Azure CLI and Azure PowerShell are both cross-platform tools that can be installed locally on Windows, macOS, and Linux.
Both Azure CLI and Azure PowerShell are cross-platform tools. Azure CLI is written in Python and is supported on Windows, macOS, and Linux. Azure PowerShell is built on PowerShell Core (cross-platform .NET), making it fully compatible with Windows, macOS, and Linux as well.

Adım Adım Çözüm

1
Analyze the operating system compatibility of Azure CLI.
Azure CLI is cross-platform and runs on Windows, macOS, and Linux.
Azure CLI is designed to work across all major operating systems.
2
Analyze the operating system compatibility of Azure PowerShell.
Azure PowerShell runs on PowerShell Core, which is supported on Windows, macOS, and Linux.
Azure PowerShell is no longer limited to Windows since the release of PowerShell Core.

Anahtar Kavram

Azure CLI and Azure PowerShell are cross-platform command-line tools that can be installed on Windows, macOS, and Linux.
Bu soruyu puanla