Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

Debugging PowerShell script in Visual Studio Code – Part 1

Summary: Here's a look at the many features of the PowerShell debugger for Visual Studio Code. In previous blog posts, we covered how to get started with PowerShell development in Visual Studio Code and the editing features of Visual Studio Code and the PowerShell extension.  If you don’t already have Visual Studio Code configured with ...

PowerTip: Get a list of security patches installed in the last 90 days

Summary: Cloud and Datacenter Management MVP, Thomas Rayner, shows how to get a list of all the security patches installed in the last three months. (image) How can I list all the security patches that I’ve installed in the last 90 days? (image) There’s a class for that! Just use , and you can retrieve this information. Here is an ...

PSScriptAnalyzer deep dive – Part 4 of 4

Summary: Thomas Rayner, Microsoft Cloud and Datacenter Management MVP, shows how to write a custom PSScriptAnalyzer rule. Hello! I’m Thomas Rayner, a Cloud and Datacenter Management Microsoft MVP, filling in for The Scripting Guy this week. You can find me on Twitter (@MrThomasRayner), or posting on my blog, workingsysadmin.com. This week, ...