-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Type of issue
Code doesn't work
Feedback
`PS 07/24/2024 09:57:18C:\Users****\scripts> $PID | Debug-Process
Debug-Process : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its
properties do not match any of the parameters that take pipeline input.
[ADMIN]: PS 07/24/2024 09:56:52C:\Users****\scripts> $PID | Debug-Process
Debug-Process : The input object cannot be bound to any parameters for the command either because the command does not take pipeline input or the input and its
properties do not match any of the parameters that take pipeline input.
At line:1 char:8
- $PID | Debug-Process
-
~~~~~~~~~~~~~- CategoryInfo : InvalidArgument: (26040:Int32) [Debug-Process], ParameterBindingException
- FullyQualifiedErrorId : InputObjectNotBound,Microsoft.PowerShell.Commands.DebugProcessCommand
[ADMIN]: PS 07/24/2024 09:55:55C:\Users****\scripts> Get-Process "Windows Powershell"
Get-Process : Cannot find a process with the name "Windows Powershell". Verify the process name and call the cmdlet again.
At line:1 char:1
- Get-Process "Windows Powershell"
-
+ CategoryInfo : ObjectNotFound: (Windows Powershell:String) [Get-Process], ProcessCommandException + FullyQualifiedErrorId : NoProcessFoundForGivenName,Microsoft.PowerShell.Commands.GetProcessCommand
[ADMIN]: PS 07/24/2024 09:53:58C:\Users****\scripts> Debug-Process -Name "Windows Powershell"
Debug-Process : Cannot find a process with the name "Windows Powershell". Verify the process name and call the cmdlet again.
At line:1 char:1
- Debug-Process -Name "Windows Powershell"
-
+ CategoryInfo : ObjectNotFound: (Windows Powershell:String) [Debug-Process], ProcessCommandException + FullyQualifiedErrorId : NoProcessFoundForGivenName,Microsoft.PowerShell.Commands.DebugProcessCommand
and because why not
[ADMIN]: PS 07/24/2024 09:56:19C:\Users****\scripts> Get-Process "Microsoft Powershell"
Get-Process : Cannot find a process with the name "Microsoft Powershell". Verify the process name and call the cmdlet again.
At line:1 char:1
- Get-Process "Microsoft Powershell"
-
+ CategoryInfo : ObjectNotFound: (Microsoft Powershell:String) [Get-Process], ProcessCommandException + FullyQualifiedErrorId : NoProcessFoundForGivenName,Microsoft.PowerShell.Commands.GetProcessCommand
Page URL
Content source URL
Author
Document Id
c8e1c0e4-0aa4-753a-fd8f-371478ebf26e