Skip to content

Remove Get-Process -ComputerName example in Debug-Process.md v6.0 #2156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 28, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions reference/6/Microsoft.PowerShell.Management/Debug-Process.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,7 @@ Then, it uses a pipeline operator (|) to send the process ID to the **Debug-Proc

For more information about the $PID automatic variable, see about_Automatic_Variables.

### Example 7: Attach a debugger to the specified process on multiple computers
```
PS C:\> Get-Process -ComputerName "Server01", "Server02" -Name "MyApp" | Debug-Process
```

This command attaches a debugger to the MyApp processes on the Server01 and Server02 computers.

The command uses the **Get-Process** cmdlet to get the MyApp processes on the Server01 and Server02 computers.
It uses a pipeline operator to send the processes to the Debug-Process cmdlet, which attaches the debuggers.

### Example 8: Attach a debugger to a process that uses the InputObject parameter
### Example 7: Attach a debugger to a process that uses the InputObject parameter
```
PS C:\> $P = Get-Process "Windows PowerShell"
PS C:\> Debug-Process -InputObject $P
Expand Down