News

Variable Values Another technique I frequently use when debugging complex PowerShell scripts is adding code to display the value of seemingly problematic variables at various points in the script.
Debugging PowerShell scripts can be a challenging but rewarding task. By using breakpoints, the debugger, and Write-Debug and Write-Verbose, you can find and fix errors and bugs in your code and ...
Visual Studio Code (or VSCode for short) is a free, light weight, extensible, text editor by Microsoft. It’s also the official editor for PowerShell development – superseding the ISE. In this talk, ...
This extension provides rich PowerShell language support for Visual Studio Code (VS Code). Now you can write and debug PowerShell scripts using the excellent IDE-like interface that VS Code provides.
Microsoft’s Visual Studio Code’s PowerShell tooling is designed primarily to work with the PowerShell 7.2 long-term support release, though the older PowerShell 5.1 is still supported for ...
One of the easiest ways to test your PowerShell scripts in Windows is to use the PowerShell Integrated Scripting Environment (ISE), which is a graphical user interface (GUI) that provides features ...
Breakpoints are a great way to tell your code to stop at certain points. In PowerShell, breakpoints can be triggered a few different ways. They can be triggered when a certain command is run, when a ...
Microsoft updated its PowerShell extension for Visual Studio Code, continuing a months-long re-architecture to improve the stability of its editor and debugger, which was identified as the No. 1 user ...
Create Visual Indicators Whenever a PowerShell script is behaving in a way that is completely unexpected, one of the first things I do is put some code in place to help me figure out what portions ...
Code doesn't always go as planned. It would be great if we all could write code that works perfectly all the time but ultimately bugs will creep in and our code never works right the first time.