Category: Azure CLI

Apply Tags to all of your Azure Resources 5

Apply Tags to all of your Azure Resources

Today I’m doing an Azure Migration and consolidation for a client and they wanted to tag everything within the existing Resource Group where is it deployed before we started moving things around to other Resource […]

Securing Azure Virtual Machines using Network Security Groups (NSGs) 7

Securing Azure Virtual Machines using Network Security Groups (NSGs)

Security, Security! This is top of mind for everyone these days and Azure has many security features.¬† Today we are going to explore the world of Network Security Groups (NSGs) and their use on Virtual […]

Azure CLI 2.0: Convert VM to Managed Disks 8

Azure CLI 2.0: 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 what Storage Accounts contained which and how many VM Disks; […]

Introducing the Azure Cloud Shell 9

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. It really great to be able to use Azure command-line […]

Azure CLI 2.0: Quickly Start / Stop ALL VMs 11

Azure CLI 2.0: 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 and place them in a “Stopped (Deallocated)” state. While it’s […]

Azure CLI 2.0: Make Bash Output More Readable 12

Azure CLI 2.0: Make Bash Output More Readable

It can be extremely useful to use the Azure CLI to manage / manipulate your Azure resources from the command-line. However, many of the commands will output a large amount of JSON that can be […]

Azure CLI 2.0: Reset / Change Azure VM Password 13

Azure CLI 2.0: Reset / Change Azure VM Password

It’s very easy to spin up a Virtual Machine (VM) in Microsoft Azure. You can do it through the Azure Portal or with scripting tools such as the Azure CLI, Azure PowerShell cmdlets, and even […]

Install Azure CLI 2.0 on macOS 15

Install Azure CLI 2.0 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, and more newly usable from within a web browser in […]

Azure CLI 2.0: Generate SAS Token for Blob in Azure Storage 17

Azure CLI 2.0: Generate SAS Token for Blob in Azure Storage

Azure Storage is a cloud service at the very center of Microsoft Azure. It provides the foundations for storing data in many services and systems within the Azure cloud platform. You can use Azure Blob […]

Azure CLI 2.0: Reset Azure SQL Database Password 18

Azure CLI 2.0: Reset Azure SQL Database Password

The Azure SQL Database service allows you to set an Admin login and password when you provision a database server in the service. However, if you happen to forget the password for the Azure SQL […]