Azure Cost Management JSON Body Examples

Cost management isn’t very fun, but is vital to any cloud deployment. Without it, your costs can quickly spiral out of control. In this post I’ll provide Cost Management JSON Body examples, because I find the examples in the official docs overly complex and inadequate. If you’ve followed my blog or seen me present you …

Read more

Extracting Nested Fields in Kusto

Pretty much every blog I’ve produced is a real world solution that I have used in production. Sometimes they are solutions I have worked on recently, sometimes months or even a year has gone by before I finally wrote it down. Sometimes blogging and a real world solution occur at the exact same time. I …

Read more

Building JSON Payload in Powershell

When we’re building JSON payload in Powershell, there are a number of things to consider. What are our object types in Powershell? How to combine multiple Powershell Objects to one JSON object? How is the API going to read and parse that payload? For the purposes of this post I’ll be demoing against the Log …

Read more

Powershell: Invoke-RestMethod vs Invoke-WebRequest

In Powershell, aside from the old school Net objects, we have Invoke-RestMethod and Invoke-WebRequest cmdlets to make HTTP/REST calls. I’ve been exploring both as part of my APIs and Powershell series. So far there are times when one is better than the other at certain things. Like Invoke-RestMethod turning JSON response files directly into Powershell …

Read more

Blog Series: APIs and Powershell

Starting out on helpdesk and moving to systems administration, I never had any exposure to APIs and how to use them. I would be in meetings and people would start talking about APIs and this would be me. Instead of being clueless, I would rather know a little bit when people smarter than me start …

Read more