Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 4.0 » Disable-PSBreakpoint

Disable-PSBreakpoint - Powershell 4.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

Disable-PSBreakpoint

Short description
Disables the breakpoints in the current console.

Syntax


Description
The Disable-PSBreakpoint cmdlet disables breakpoints, which assures that they are not hit when the script runs. You 
can use it to disable all breakpoints, or you can specify breakpoints by submitting breakpoint objects or breakpoint 
IDs.


Technically, this cmdlet changes the value of the Enabled property of a breakpoint object to False. To re-enable a 
breakpoint, use the Enable-PSBreakpoint cmdlet. Breakpoints are enabled by default when you create them by using the 
Set-PSBreakpoint cmdlet.


A breakpoint is a point in a script where execution stops temporarily so that you can examine the instructions in the 
script. Disable-PSBreakpoint is one of several cmdlets designed for debugging Windows PowerShell scripts. For more 
information about the Windows PowerShell debugger, see about_Debuggers.