From cf5b63426da3a6a74f45467deb87dcf8227dc301 Mon Sep 17 00:00:00 2001 From: Matt Gucci Date: Wed, 28 Feb 2018 20:08:03 +0900 Subject: [PATCH] Remove `Get-Process -ComputerName` example in Debug-Process.md v6.0 `Get-Process -ComputerName` parameter is not supported since v6.0. --- .../Microsoft.PowerShell.Management/Debug-Process.md | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/reference/6/Microsoft.PowerShell.Management/Debug-Process.md b/reference/6/Microsoft.PowerShell.Management/Debug-Process.md index 72bfa665b4a9..4fed7e9c75b1 100644 --- a/reference/6/Microsoft.PowerShell.Management/Debug-Process.md +++ b/reference/6/Microsoft.PowerShell.Management/Debug-Process.md @@ -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