August 18th, 2015

PowerTip: Find Processes with High Priority

Doctor Scripto
Scripter

Summary: Learn how to use Windows PowerShell to find processes that have a high priority.

Hey, Scripting Guy! Question How can I use Windows PowerShell to quickly see what processes have a high priority or an above normal priority?

Hey, Scripting Guy! Answer Open Windows PowerShell with Admin rights, use the Get-Process cmdlet to return processes, and filter
           processes that are using high or above normal priority, for example:

gps | where {$_.priorityclass -eq 'AboveNormal' -OR $_.priorityclass -eq 'high'} | select name, priorityclass

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.