Azure CLI

The Azure CLI is a cross-platform, command-line tool that allows users to connect to Azure and execute administrative commands on Azure resources. It is designed to help users work quickly with Azure, with an emphasis on automation. The CLI is available across Azure services, and can be installed on Windows, macOS, or Linux. It can also be run in Azure Cloud Shell or used in within a Docker container.

41 articles

Mar 31, 2020 5 min read

Azure Kung Fu Toolkit

Welcome to Az Kung Fu, grasshopper! Scripting is the only way to ensure that your environments are the same every time and remove the risk…

Jan 30, 2020 4 min read

Azure CLI Kung-Fu Tips and Tricks

The last week has been a blur because I didn’t sleep.  I spent days helping a client restore every single VM that had running in…

Dec 19, 2019 2 min read

Azure CLI: Create Azure IoT Hub

It’s really easy to provision an instance of Azure IoT Hub using the Azure Portal. However, there are times when you need to automate the…

Dec 13, 2019 3 min read

Azure CLI: List and Set Azure Subscription

To list and set the Azure Subscription to run Azure CLI commands against is an important step in command-line scripting. To do this, there are…

Mar 14, 2018 3 min read

Azure CLI: Convert VM to Managed Disks

Traditionally, Azure Virtual Machines (VMs) would use an Azure Storage Account to store the VM Disk Images for the VM. This required explicit management of…

Feb 7, 2018 2 min read

Introducing the Azure Cloud Shell

The Azure Cloud Shell has been out for some time now, as an embedded Bash and PowerShell command-line shell / terminal within the Azure Portal.…

Jun 7, 2017 5 min read

Azure CLI: Quickly Start / Stop ALL VMs

You can easily Start and Stop Virtual Machines (VMs) through the Azure Portal. Previously, I’ve written about the importance of Stopping unused VMs to save money…

May 25, 2017 2 min read

Install Azure CLI on macOS

The Azure CLI is the cross-platform, command-line tool for managing and automating cloud resources in Microsoft Azure. The tool is supported across macOS, Linux, Windows,…

Apr 27, 2016 10 min read

What is Azure Resource Manager?

In the early days of Microsoft Azure the Portal was the primary tool to go in and configure your cloud components. After some time the…