Getting a private certificate from Key Vault

Getting a certificate from key vault using PowerShell – while it isn’t obvious also isn’t hard. I’m putting this sample code here for me to use as a reference – but feel free to use & adjust it as you want. A few key points first about certificates in Key Vault. BYO certificates when loaded…

1

OAuth using PowerShell and certificate Service Principal to Azure Function App

Hi, Recently I needed a way to write PowerShell code to use a certificate backed service principal to use OAuth authentication when calling a web hook. This took longer than it should to figure out (my colleague Arian helped a lot), so I figured I may be able to save someone else some time by…

0

Use a Custom Script Extension to Sysprep an Azure VM

Hi All, I’ve been in a situation where I want to run sysprep on a Azure VM to create an image, hopefully without needing to login / connect directly to the VM. I thought that this was an opportunity to learn about custom script extensions. (for use in other situations as well)   in summary,…

4

Azure Automation Webhook parameter passing

Hi All, Recently I was exploring the use of webhooks & needed to troubleshoot the parameters being passed to a webhook. With the theme of my blog – hoping to save someone some time, this is a quick post to save someone creating this from scratch. This is the Azure Automation PowerShell runbook that I used…

0

Hyper-V Performance – Networking

This is a continuation of a series on Hyper-V performance monitoring. The previous posts covered CPU, Storage and Memory performance, This post is on network performance. Network monitoring in a Hyper-V environment depends very heavily on the configuration in use, the available hardware (speed of NIC) and the configuration in use.   Physical network adapter…

2