Install 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

6K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements