July 16th, 2015

PowerTip: Find All Disabled Breakpoints in PowerShell

Doctor Scripto
Scripter

Summary: Find all disabled breakpoints in a Windows PowerShell session.

Hey, Scripting Guy! Question How can I use Windows PowerShell to see what breakpoints are disabled in my current session?

Hey, Scripting Guy! Answer Use the Get-PSBreakPoint cmdlet, and filter breakpoints that are not enabled, for example:

Get-PSBreakpoint | where {-not ($_.enabled)}

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.

Feedback