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

Getting Started with Powershell: Quick tips

When I first started learning Powershell, like many other technologies, I was self-taught. In this post I’ll share some Powershell quick tips I wish I knew when I was starting out. This first one may seem fairly obvious, but again this is targeted for those just starting to learn Powershell. Often times peoples interest in …

Read more

Visual Studio Code Powershell

Microsoft has knocked it out of the park with Visual Studio Code. I’ve seen a lot of positive feedback for it, even on one of the forums I read that isn’t related to programming or devs or IT Operations. For my purposes I’ve recently started using it for Powershell. And I wanted to share some …

Read more

Enable Nested Virtualization in Hyper-V

enable nested virtualization

One of my favorite new features added in Hyper-V 2016, was nested virtualization. Nested virtualization is a great feature for labs or demo environments, but also Hyper-V containers. It’s also useful for running the Azure Stack Development Kit. I’ll show you how you can quickly enable nested virtualization in Hyper-v using Powershell. Note, the only …

Read more