An administrator wants to use Azure Cloud Shell to execute administrative scripts containing Azure PowerShell cmdlets. The administrator is working on a Chromebook that runs ChromeOS and does not support local software installations. Which of the following statements is true regarding this scenario?
- AThe administrator cannot run Azure PowerShell cmdlets in Azure Cloud Shell because Azure PowerShell requires a client device running Windows.
- BThe administrator must install the Azure PowerShell module locally on the Chromebook before Azure Cloud Shell can execute the scripts.
- The administrator can run Azure PowerShell cmdlets in Azure Cloud Shell because it runs in a web browser and is independent of the local operating system.Answer
- DThe administrator can only use Azure CLI in Azure Cloud Shell because PowerShell cmdlets cannot run on non-Windows cloud environments.
Answer
The administrator can run Azure PowerShell cmdlets in Azure Cloud Shell because it runs in a web browser and is independent of the local operating system.
The correct option is correct because Azure Cloud Shell is a browser-accessible, cloud-hosted shell that does not rely on the local operating system or local software installations. It provides pre-installed tools for both Bash (Azure CLI) and PowerShell, allowing users to run Azure PowerShell cmdlets from any device with a modern web browser, including a Chromebook running ChromeOS.
Step-by-Step Solution
Key Concept
Azure Cloud Shell accessibility and environment options