Contact Info

Crumbtrail » Administration » Powershell » Powershell 2.0 » Debug-Process

Debug-Process - 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
Debugs one or more processes running on the local computer.

Debug-Process [-Name] <string[]> [-Confirm] [-WhatIf] [<CommonParameters>]
    Debug-Process [-Id] <Int32[]> [-Confirm] [-WhatIf] [<CommonParameters>]
    Debug-Process -InputObject <Process[]> [-Confirm] [-WhatIf] [<CommonParameters>]

The Debug-Process cmdlet attaches a debugger to one or more running processes on a local computer. You can specify 
    the processes by their process name or process ID (PID), or you can pipe process objects to Debug-Process. 
    Debug-Process attaches the debugger that is currently registered for the process. Before using this cmdlet, verify 
    that a debugger is downloaded and correctly configured.