Skip to content

Instantly share code, notes, and snippets.

@aessing
Last active August 13, 2021 09:16
Show Gist options
  • Save aessing/3589984ee8a1d93062f58a33bcae76c2 to your computer and use it in GitHub Desktop.
Save aessing/3589984ee8a1d93062f58a33bcae76c2 to your computer and use it in GitHub Desktop.
Install Azure Command-Line Interface (AZ CLI) on Windows (PowerShell)
# =============================================================================
# Install Azure Command-Line Interface (AZ CLI) on Windows (PowerShell)
# https://docs.microsoft.com/en-us/cli/azure/
# https://github.com/Azure/azure-cli
# -----------------------------------------------------------------------------
# Developer.......: Andre Essing (https://www.andre-essing.de/)
# (https://github.com/aessing)
# (https://twitter.com/aessing)
# (https://www.linkedin.com/in/aessing/)
# -----------------------------------------------------------------------------
# THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
# =============================================================================
# Install AZ CLI
Invoke-WebRequest -Uri https://aka.ms/installazurecliwindows -OutFile .\AzureCLI.msi; Start-Process msiexec.exe -Wait -ArgumentList '/I AzureCLI.msi /quiet'; rm .\AzureCLI.msi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment