How to Install the Azure CLI on Windows using PowerShell?

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

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

Invoke-WebRequest -Uri -
OutFile .\AzureCLI.msi
Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi
rm .\AzureCLI.msi

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