Summary: Use Windows PowerShell to find processes with a process ID that is less than 1000.
How can I use Windows PowerShell to find all processes that have a process ID less than 1000?
Use the Get-Process cmdlet, pipe the resulting objects to the Select-Object cmdlet, choose the process name,
and create a custom property that displays True if the process ID is less than 1000:
Get-Process | select name, @{L='Pid below 1000';E={$_.pid -lt 1000}}
0 comments