Scripting

Azure: PowerShell versus ARM Templates

January 31, 2018 // 4 Comments

In this post, I’m going to make the PowerShell acolytes angry (not hard) by explaining why they are too slow, and ARM/JSON is they best way to deploy things in Azure. The PowerShell Experience Let’s imagine that you & your significant other go into a restaurant, and let’s say you order a [...]

Adding Azure Monitor Performance Alerts Using PowerShell

January 19, 2018 // 3 Comments

Below is a sample script for adding Azure Metrics alerts using Azure Monitor. It is possible to create alerts using the Azure Portal, but that doesn’t scale well because each alert is specific to one VM. For example, if you have 4 alerts per VM, and 10 VMs, then you have to create 40 alerts! One [...]

Optimize Hyper-V VM Placement To Match CSV Ownership

July 5, 2016 // 6 Comments

This post shares a PowerShell script to automatically live migrate clustered Hyper-V virtual machines to the host that owns the CSV that the VM is stored on. The example below should work nicely with a 2-node cluster, such as a cluster-in-a-box. For lots of reasons, you get the best performance for [...]

Microsoft News – 30 September 2015

September 30, 2015 // 2 Comments

Microsoft announced a lot of stuff at AzureCon last night so there’s lots of “launch” posts to describe the features. I also found a glut of 2012 R2 Hyper-V related KB articles & hotfixes from the last month or so. Hyper-V The uptime value of the Hyper-V Management console changes to the [...]

Microsoft News 13-August-2015

August 13, 2015 // 6 Comments

Hi folks, it’s been a while since I’ve posted but there’s a great reason for that – I got married and was away on honeymoon 🙂 We’re back and trying to get back into the normal swing of things. I was away for the Windows 10 launch, happily ignoring the world. Windows 10 in the [...]

Microsoft News – 16 July 2015

July 16, 2015 // 0 Comments

It’s been a busy week with WPC driving announcements that affect partners. Hyper-V Hyper-V Survey – Why do you turn VMs off? The Hyper-V team wants to know. Windows Server Microsoft Issues Final Patch Tuesday Updates for Windows Server 2003: No more security updates! Bye Windows Server [...]
1 2 3 7