Syntax error How to Install the Azure CLI on Windows using PowerShell?

How to Install the Azure CLI on Windows using PowerShell?



To install the Azure CLI, you can download it from the location below,

https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-windows?tabs=azure-cli/

To install the Azure CLI using PowerShell, use the below command.

Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -
OutFile .\AzureCLI.msi
Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi
/quiet'
rm .\AzureCLI.msi

To check if the Az CLI is installed successfully run the Az in the cmd or the PowerShell.

Updated on: 2021-09-01T09:32:31+05:30

7K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements