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.
Learn how to debug PowerShell scripts using breakpoints, the debugger, and Write-Debug and Write-Verbose. Find and fix errors and bugs in your code.
Learn how to use Microsoft's programmers' editor, Visual Studio Code, to get the most from the latest PowerShell releases.
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.
Learn the best strategies for testing PowerShell scripts in Windows, such as using the PowerShell ISE, applying coding and debugging best practices, and leveraging tools and frameworks for unit ...
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 ...
Breakpoints are a powerful debugging feature in PowerShell. They give you complete control and allow you to "slow down" code execution to allow us humans to peer into what our code is actually doing ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results