Velvet Star Monitor

Standout celebrity highlights with iconic style.

general

What is the Windows equivalent of "ps aux | wc -l"?

Writer Sophia Terry

I know Windows equivalent of "ps aux" is tasklist which works well on my win10

enter image description here

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

enter image description here

how do I use powershell to get the number of processes running on win10?

4

1 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"

Example output:enter image description here

Credit: harrymc

More info over at

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy