How do you get the name of a region to use in CLI or PowerShell for Azure coding? If you do a lot of CLI or PowerShell coding you will want to know the region names that you can reference for any region specific code you write. In this article I show you how easy it is to find the reference name to use in your code. Included is a list of all the current regions as a reference guide to save some time.
I’ve been asked a few times to share how I setup for doing a demo using different Azure resources. So, I’ll share my first way of setting up — Azure CLI. Today, we’ll walk through some of the steps I run and how to save it to do it all again next time. This is one of the ways that I get setup with storage accounts, Windows servers, Linux servers, and even App Gateways and Load Balancers…so buckle up for a little code run-through!
Ever need to quickly connect to one of your virtual machines in Azure? You can use CLI or Azure PowerShell module and the Get-AzRemoteDesktopFile cmdlet to create an RDP file to use for your connection! This is not a widely known method, but it can save you loads of time!
See how to use RDP files from Azure CLI by reading on…
To keep as much flexibility in my connection and administration work as possible, I like to take advantage of all the hard work of the teams that have given us (the general public) tools like PowerShell, VS Code, and Azure CLI. My clients know that my love of PowerShell is almost equal to that of my mountain biking, but let’s stay focused today! We will walk through getting you setup to use Azure CLI from inside VS Code. This will only take about 15 minutes for you to get up and running, so let’s get started!
Read on to get VSCode setup…
If you are just getting comfortable using Azure or want to start learning a bit more about how to provision virtual machines using a method that can be automated and repeated quickly – stay tuned as we’ll cover some simple commands on using your free Azure account, connecting to Azure CLI, learning some test and demo commands, create a virtual machine, look at the potential to automate your code, and some common commands in Azure CLI.