Stop, Start or Restart all Web Apps in Azure using PowerShell

Here is a short (and sometimes handy) single line of PowerShell code that can be used to restart all the Azure Web Apps in a subscription: Note: Use this with care if you’re working with production systems because this _will_ restart these Web Apps without confirming first. This would be a handy snippet to be able to run in the Azure Cloud Shell. It could also be adjusted to perform different actions on other types of resources.
Read full post gblog_arrow_right

Install Nightly Build of Azure CLI 2.0 on Windows

The Azure PowerShell cmdlets are really first class if you’re wanting to manage Azure with PowerShell. However, they don’t always support the very latest Azure components and features. For example, at the time of writing this there is no Azure PowerShell module for managing Azure Container Instances. The solution to this is to install the Nightly Build of Azure CLI 2.0. However, on Windows it is not entirely clear the easiest way to do this.
Read full post gblog_arrow_right

Get Azure API Management Git Credentials using PowerShell

One of the many great features of Azure API Management is the fact that it has a built in Git repository for storing the current configuration as well as publishing new configurations. This allows you to push updated Azure API Management configurations to this internal Git repository as a new branch and then Deploy the configuration to API Management. The internal Git repository in Azure API Management is not intended to be used for a normal development workflow.
Read full post gblog_arrow_right

Sonatype Nexus Containers with Persistent Storage in Azure Container Instances

On the back of yesterdays post on running Azure Container Instance containers with persistent storage, I thought I’d try a couple of other containers with my script. Note: I don’t actually plan on running any of these apps, I just wanted to test out the process and my scripts to identify any problems. I tried: Sonatype Nexus 2 - sonatype/nexus:oss Sonatype Nexus 3 - sonatype/nexus3:latest Jenkins - jenkins/jenkins And here are the results of my tests:
Read full post gblog_arrow_right

Persistent Storage in Azure Container Instances

Update 2018-04-26: At some point Microsoft made a change to the requirements of the ARM template creating the Azure Container Instance. It now requires the Ports to be specified within the container as well as we the container group. I have improved the ARM template to meet the current requirements. Update 2017-08-06: I have improved the script so that it is idempotent (can be run more than once and will only create anything that is missing).
Read full post gblog_arrow_right