Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 2.0 » Get-PSBreakpoint

Get-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.

Get-PSBreakpoint


Short description
Gets the breakpoints that are set in the current session.

Syntax
Get-PSBreakpoint [[-Script] <string[]>] [<CommonParameters>]

Get-PSBreakpoint -Command <string[]> [-Script <string[]>] [<CommonParameters>]

Get-PSBreakpoint [-Id] <Int32[]> [<CommonParameters>]

Get-PSBreakpoint [-Type] <BreakpointType[]> [-Script <string[]>] [<CommonParameters>]

Get-PSBreakpoint -Variable <string[]> [-Script <string[]>] [<CommonParameters>]

Description
The Get-PSBreakPoint cmdlet gets the breakpoints that are set in the current session. You can use the cmdlet parame
ters to get particular breakpoints.

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