Learn why you need the base PowerShell product and the Az PowerShell module.
Table of Contents
Question
What needs to be installed on your machine to let you execute Azure PowerShell cmdlets locally?
A. The Azure Cloud Shell
B. The base PowerShell product and the Az PowerShell module
C. The Azure CLI and Azure PowerShell
Answer
B. The base PowerShell product and the Az PowerShell module
Explanation
You need both the base PowerShell product and the Az PowerShell module. The base product gives you the shell itself, a few core commands, and programming constructs like loops, variables, etc. The Az PowerShell module adds the cmdlets you need to work with Azure resources.
The base PowerShell product and the Az PowerShell module. Azure Cloud Shell is a browser-based shell experience, while Azure CLI is a command-line tool designed to manage Azure services. However, to execute Azure PowerShell cmdlets locally, you need the base PowerShell product and the Az PowerShell module installed on your machine.
The Cloud Shell does let you execute Azure cmdlets; however, you use it in a browser, so you aren’t running the commands on your local machine.
The Azure CLI is an alternate command-line and scripting tool. It isn’t needed if you’re going to use Azure PowerShell.
Microsoft Azure Administrator AZ-104 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Microsoft Azure Administrator AZ-104 exam and earn Microsoft Azure Administrator AZ-104 certification.