Contact Info

Crumbtrail

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

Disable-PSBreakpoint - Powershell 3.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
Disable-PSBreakpoint [-Breakpoint] <Breakpoint[]> [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]
Disable-PSBreakpoint [-Id] <Int32[]> [-PassThru] [-Confirm] [-WhatIf] [<CommonParameters>]





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 brea
kpoint, use the Enable-PSBreakpoint cmdlet. Breakpoints are enabled by default when you create them by using the Set-PS
Breakpoint cmdlet.


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