Category Archives: Microsoft Azure


PowerShell – Desired State Configuration

PowerShell - Desired State Configuration

Probably one of the most interesting features included within PowerShell 4 is the option to create configuration scripts also known as DSC. Yes, this is something new – unless you are familiar with Chef and Puppet. And no, this isn’t the same as executing a large provisioning script.

Read More →

Azure Subscription Selection

Azure Subscription Selection

When the Azure PowerShell commands aren’t returning any data well then you might have to select a default Azure subscription. I tend to forget the Azure Subscription Selection step and therefore created this post. Just to remind myself and perhaps a couple of others.

The following page will guide you to the process of setting up on how to install and configure Windows Azure PowerShell http://www.windowsazure.com/en-us/documentation/articles/install-configure-powershell/ however you will need to make sure to select the correct subscription.

Read More →

SQL Remote Access Azure VM’s

SQL Remote Access Azure VM’s

Opening up SQL Server instances hosted on Azure VM’s is just one of those manual, repetitive and error-prone tasks. Given that I’m spinning up new VM’s in a daily basis, I’ve decided to automate the process using PowerShell and SQL Server Management Objects (SMO). This makes setting up SQL Remote Access on Azure a simple task.

Read More →

Automatically deallocate Azure VM’s

Automatically deallocate Azure VMs

Last month I was surprised to see that my Azure bill went up quite a bit. Not knowing that I forgot to deallocate my Azure development VMs. Fortunately, this didn’t break the bank, but would like to avoid this in the future. So therefore I created a simple script to Deallocate Azure VM’s.

Read More →

Move Azure VMs between datacenters

Move Azure VMs between datacenters

Recently I had to move a couple of Windows Azures Virtual Machines from West Europe to Southeast Asia. This wasn’t as easy as expected, so therefore i’m sharing the steps on how to move a Virtual Machine to a different data center.

Read More →