Remove-Hostpool Script

Over the past few months I’ve created and removed many Windows Virtual Desktop Host Pools for testing. Removing a WVD Host Pool can be a little tedious so I crated and shareing a script that walks through selecting and removing a Host Pool. GitHub link below.

Continue reading “Remove-Hostpool Script”

Git and VS Code for the Lone Scripter

This is where my last two articles, Git for System Admin Scripting and Get Started with Git Remote, come together.  Microsoft’s Visual Studio Code (VS Code) is a powerful and extendable IDE.  VS Code supports Git out of the box.  It also supports many programming and scripting languages with Microsoft and 3rd party extensions.  In this article, I walk through common tasks that we have already covered, only this time with the native Git integration within VS Code.  I also review new functionality with a free 3rd party extension.

Continue reading “Git and VS Code for the Lone Scripter”

Git for System Admin Scripting

Git

I spent most of my time in IT as a system admin, on the “Ops” side of DevOps.  Over the years, I have accumulated many different batch files and scripts of one type or another.  File shares worked well for storing the code I write.  I discovered Git and it’s become my main repository for all script related code.  Recently, I attempted to make a case to other admins for using Git, but failed to make a convincing case.  Below, I lay out my case to why a sysadmin or anyone writing any kind of script should move to Git.  I also outline how I use it in an effort to make my case and help anyone interested in getting started with Git. 

Continue reading “Git for System Admin Scripting”

Azure Automation, Azure Functions, Teams, and Event Grid

Azure Functions Azure Automation

Well, I did it.  I finally started working with Azure Functions.  I toyed around with PowerShell based Azure Functions for a while, but couldn’t find a good example to get started.  A couple of weeks ago I started preparing a video that uses Event Grid and Azure Automation to send a message to Teams when a new Resource Group is created in Azure.  This is based on information Microsoft has posted on using PowerShell to post to Teams.  The video is listed below.

Continue reading “Azure Automation, Azure Functions, Teams, and Event Grid”

Redeploy an Azure VM

Redeploy

In this video I reviews the Redeploy tool for Azure IaaS VM’s.  I give an overview of what the tool is used for and then a demo on how to run Redeploy against Windows and Linux VM’s through the Portal and using PowerShell and the Azure Cloud Shell.  This Video is for anyone who administrates Azure VM’s or interested in taking the AZ-103 certification exam.

Continue reading “Redeploy an Azure VM”

Webhooks and Azure Automation Runbooks

Azure Automation

Overview

Azure Automation is Microsoft’s cloud-hosted automation solution.  It uses Python or PowerShell based scripts, referred to as runbooks, to launch automation jobs in Azure or on-premises.  These runbooks are started in multiple ways.  The information below details starting automation jobs with a webhook.

Continue reading “Webhooks and Azure Automation Runbooks”

Collect Custom Windows Event Logs in Log Analytics

Log AnalyticsAdding most Windows Event Logs to Log Analytics is a straightforward process.  Simply go to the Advanced properties in the Workspace > Windows Event Logs and start typing the name.  A pre-populated list will appear as shown below.  Selected the log and add it for collection.  But what if the log you are looking for is not listed in Log Analytics? Continue reading “Collect Custom Windows Event Logs in Log Analytics”