Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Enable-PSBreakpoint

Enable-PSBreakpoint - Powershell 2.0 CmdLet

Microsoft Windows PowerShell is a command-line shell and scripting tool based on the Microsoft .NET Framework. It is designed for system administrators, engineers and developers to control and automate the administration of Windows and applications.

More than hundred command-line tools (so called "cmdlets") can be used to perform system administration tasks and Windows Management Instrumentation (WMI). These cmdlets are easy to use, with standard naming conventions and common parameters, and standard tools for piping, sorting, filtering, and formatting data and objects.


Short description
Enables the breakpoints in the current console.

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

The Enable-PSBreakpoint cmdlet re-enables disabled breakpoints. You can use it to enable all breakpoints, or you ca
    n specify 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 t
    he script. Newly created breakpoints are automatically enabled, but you can disable them by using the Disable-PSBre
    akpoint cmdlet.
    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 informati
    on about the Windows PowerShell debugger, see about_Debuggers.