Contact Info

Crumbtrail » Administration » Powershell » Powershell 3.0 » Enable-PSBreakpoint

Enable-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 »


Short description
Enables the breakpoints in the current console.

Enable-PSBreakpoint [-Id] <Int32[]> [-PassThru] [<CommonParameters>]
Enable-PSBreakpoint [-Breakpoint] <Breakpoint[]> [-PassThru] [<CommonParameters>]

The Enable-PSBreakpoint cmdlet re-enables disabled breakpoints. You can use it to enable all breakpoints, or you can sp
ecify breakpoints by submitting breakpoint objects or breakpoint IDs.

A breakpoint is a point in a script where execution stops temporarily so that you can examine the instructions in the s
cript. Newly created breakpoints are automatically enabled, but you can disable them by using the Disable-PSBreakpoint 

Technically, this cmdlet changes the value of the Enabled property of a breakpoint object to True.

Enable-PSBreakpoint is one of several cmdlets designed for debugging Windows PowerShell scripts. For more information a
bout the Windows PowerShell debugger, see about_Debuggers.