Skip to content

Commit af2bdcb

Browse files
matt9ucciSean Wheeler
authored andcommitted
Remove Get-Process -ComputerName example in Debug-Process.md v6.0 (#2156)
`Get-Process -ComputerName` parameter is not supported since v6.0.
1 parent ec8b989 commit af2bdcb

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

reference/6/Microsoft.PowerShell.Management/Debug-Process.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,7 @@ Then, it uses a pipeline operator (|) to send the process ID to the **Debug-Proc
9090

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

93-
### Example 7: Attach a debugger to the specified process on multiple computers
94-
```
95-
PS C:\> Get-Process -ComputerName "Server01", "Server02" -Name "MyApp" | Debug-Process
96-
```
97-
98-
This command attaches a debugger to the MyApp processes on the Server01 and Server02 computers.
99-
100-
The command uses the **Get-Process** cmdlet to get the MyApp processes on the Server01 and Server02 computers.
101-
It uses a pipeline operator to send the processes to the Debug-Process cmdlet, which attaches the debuggers.
102-
103-
### Example 8: Attach a debugger to a process that uses the InputObject parameter
93+
### Example 7: Attach a debugger to a process that uses the InputObject parameter
10494
```
10595
PS C:\> $P = Get-Process "Windows PowerShell"
10696
PS C:\> Debug-Process -InputObject $P

0 commit comments

Comments
 (0)