What is the Windows equivalent of "ps aux | wc -l"?
Sophia Terry
I know Windows equivalent of "ps aux" is tasklist which works well on my win10
per What is the Windows equivalent of "wc -l"? Windows equivalent of wc -l is find /c /v "".
When I tried combine them together, I got
FIND: Parameter format not correct
how do I use powershell to get the number of processes running on win10?
41 Answer
(Get-Process).Count
and, as a bonus:
(Get-Process|Select-Object -ExpandProperty Threads).Count
Run it in CMD (as an administrator) as : powershell "(Get-Process|Select-Object -ExpandProperty Threads).Count"
Credit: harrymc
More info over at