Powershell Azure Functions: Severless for Ops People

Perhaps you’ve heard of Azure Functions, or maybe more generally serverless computing or serverless apps. If you haven’t heard of it, here is a blurb from MS: Serverless computing is the abstraction of servers, infrastructure, and operating systems. When you build serverless apps you don’t need to provision and manage any servers, so you can …

Read more

POST to Cosmos DB REST API with Powershell

A Cosmos DB post? Yea, a Cosmos DB post. A while back in the start of my Powershell and APIs series I mentioned I may try to post data to Azure Cosmos DB REST API with Powershell. So, here we are. What is Cosmos DB From Microsoft: Azure Cosmos DB is Microsoft’s globally distributed, multi-model …

Read more

Multi-Home Azure Log Analytics with SCOM, Custom Logs

You may already know that you can multi-home Azure Log Analytics Agents. However did you know that you can multi-home them when one of your Log Analytics sources is a SCOM Management Server? Yes you can. As well as any custom logs you create, you can simply add extra keys and workspace IDs to your …

Read more

Using Powershell Variables HyperV Powershell Direct

enable nested virtualization

Another new feature I love in Hyper-V 2016, like nested Virtualization, is Powershell Direct.  Powershell Direct allows you to connect to HyperV VMs directly through the Virtual Machine Bus. You use the same commands you normally use for Powershell remoting. Which are Invoke-Command and Enter-PSSession. To run these commands you need administrator credentials on the …

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