PowerShell

Automate LetsEncrypt Certificate Renewal using Internet Information Services (IIS).

For those of you who have been living under a rock for the last couple years, Lets Encrypt is a brilliant initiative to provide publicly trusted SSL certificates for free. https://letsencrypt.org/ The one downside about using LetsEncrypt is that the certificates are only valid for 3 months. To overcome this, some automation is required. After fumbling around with different methods I came up with this simple configuration and script to achieve this goal. Before we begin there are some prerequisites we need to ensure are in place. 1. This tutorial expects that you understand how to configure websites and virtual...

Continue reading...

Cloning Azure / Azure Stack Virtual Machines.

Hello. In this post I will show you how to snapshot and clone an existing Azure or Azure Stack virtual machine in a few easy steps. There are many reasons for taking snapshots. As a precaution before an update or change or to make clones of an existing virtual machine. Also there is a big difference between a snapshot in Azure / Azure Stack and an image in Azure / Azure Stack. An image expects to be sysprep’d (generalized) where a snapshot is an exact point in time. Just wanted to take this opportunity to explain the difference. For this...

Continue reading...

Save money with RDS Session Host Pools on Azure or Azure Stack.

Introduction One of the great things about consumption based billing is that you only pay for what you use. In most cases that’s just a great marketing strap line as servers tend to be up all the time. However, if you are using RDS Session pools running on Azure or Azure Stack, then the solution I have developed below will really provide you with one of the cheapest Virtual Desktop / Remote working solutions out there. Now that I have had this stable solution running in multiple implementations for a long time, I wanted to share this with the wider...

Continue reading...