PowerShell script to determine if an IP Range is part of the Azure Datacenter IP Range

Microsoft publishes an XML document that contains the IP address ranges (including Compute, SQL and Storage ranges) used in the Microsoft Azure Datacenters. An updated file is posted weekly which reflects the currently deployed ranges and any upcoming changes to the IP ranges. Working with Virtual Network Service Endpoints, I found that enabling the Microsoft.SQL…


Just enough BGP to get your Azure dual-redundancy, active-active VPN gateways up and running

I’d last dabbled in Azure Site to Site (S2S) VPN or Virtual Network Gateways when the configuration was straightforward, but the feature-set was lacking. Given an opportunity to get back into configuring VPN Gateways recently, I dove straight in. With new features like support for BGP and full-mesh high-availability connectivity, the humble Azure Virtual Network…


How to hot-add a Shared VHDX

Shared VHDX, a new feature in Windows Server 2012 R2, is a boon for administrators wanting to create a Failover Cluster running in Hyper-V virtual machines. Create a VHDX, attach it to the SCSI Controller of a virtual machine, tick "Enable virtual hard disk sharing" under Advanced Features of the Hard Drive (Click the little '+' to…


My First (Useful) PowerShell Script!

Heard of PowerShell? No? Just Kidding! Even if you run your IT department under a rock or on Mars, you’ve heard of PowerShell – It’s that ubiquitous! I’ve always been interested in picking it up as a skill, it is an extremely useful skill to have, however, I’ve never had the time and when I’ve…


Field, Here I Come!

Now and again, a colleague or customer points to my blog, having run into one of the issues I’ve described in a post. It’s at these times that I remember I have a blog! My last post was over two years ago, but I won’t make any excuses for not posting and will get right back…


Cluster service fails to start on Windows Server 2008 SP2, cluster.log contains “Too many failures while attempting to start RHS process.”

It’s been a while since my last post – not due to the dearth of interesting issues to blog about, rather, there have been TOO many issues, interesting and otherwise. Too many issues == too much work! Nonetheless, this particular issue was interesting enough to make me take some time out, despite my busy schedule,…


Certain icons do not appear the first time you open Control Panel on Windows 7

I was over at the NTDebugging blog the other day and while browsing through the posts, I came across this one, written quite brilliantly by Matt Burrough Control Panel Policy and the Missing Icon http://blogs.msdn.com/b/ntdebugging/archive/2011/04/22/control-panel-policy-and-the-missing-icon.aspx After reading a few lines, I realized why this post had piqued my interest. A colleague of mine was working…


How to run a script when a Resource Group fails over to the passive node of a Windows Server 2003 based MSCS Cluster

Having recently scripted the Cluster WMI Namespace (for fun) and blogged about it with my Cluster WMI Notifications post, I saw an opportunity to put that experience into practice here. We had a 2 node Active-Passive MSCS Cluster and the requirement was to run a custom script that did some work when a Resource Group…


Playing around with the RootMSCluster WMI Namespace and WMI Notifications

MSCS and Failover Clustering in Windows Server 2003 and Windows Server 2008/R2 respectively maintain their own WMI namespace called, unsurprisingly “MSCluster”. This namespace contains classes – for nodes, networks, resources and so on – which in turn have instances. These instances store information about the object they represent and the current state of these objects….