I would like to know how many instances of chrome.exe are in memory. I know I can list them via tasklist /FI "IMAGENAME eq chrome.exe", but how do I simply get the number of instances?

  • 1
    Is PowerShell an option? (get-process -name chrome).count – Keith Miller Apr 25 '19 at 1:58

You can pipe the output and use the "find" command, with the /c parameter.

find /c "STRING"

So in your case, it could be:

tasklist /FI "IMAGENAME eq chrome.exe" | find /c "chrome"

Since you're looking for the "chrome.exe" processes.


Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.