Scripting Blog [archived]

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

Debugging PowerShell script in Visual Studio Code โ€“ Part 2

Welcome to Part 2 of the series about how to debug PowerShell in Visual Studio Code. In Part 1, we looked at the debugging features of Visual Studio Code with the PowerShell extension installed.ย  Now we will examine the various ways that you can start to debug PowerShell script with Visual Studio Code. Single file debugging With the 1.9 ...

Cloud operating system deployment: WinPE in Azure

Jason Ryberg is a Consultant for Microsoft, where he writes PowerShell code and provides DevOps support. ย Have you ever wanted to boot to WinPE in Azure and select an Microsoft Deployment Toolkit (MDT) Task Sequence?ย  As part of an informal cloud-readiness evaluation, I was asked to deploy a server image to Azure. The image that I was given ...

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 ...