Azure: PowerShell versus ARM Templates

January 31, 2018 // 3 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 [...]

Template For ASR Recovery Plan Runbook

March 1, 2017 // 0 Comments

I’m sharing a template PowerShell-based Azure Automation runbook that I’ve written, to enable advanced automation in the Recovery Plans that can be used in Azure Site Recovery (ASR) failover. ASR allows us to orchestrate the failover and failback of virtual machines. This can be a basic [...]

RunAsRadio Podcast – Hyper-V in Server 2016

July 13, 2016 // 0 Comments

I recently recorded an episode of the RunAsRadio podcast with Richard Campbell on the topic of Windows Server 2016 (WS2016) Hyper-V. We covered a number of areas, including containers, nested virtualization, networking, security, and PowerShell. Technorati Tags: Windows Server [...]

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 [...]
1 2 3 10