How to Install the Azure CLI on Windows using PowerShell?

PowerShellMicrosoft TechnologiesSoftware & Coding

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.

raja
Published on 31-Aug-2021 09:22:44
Advertisements