Saturday, 2 November 2019

How do you list all processes on the command line in Windows?


Is there a command equivalent to 'ps' on Unix that can list all processes on a Windows machine?



Answer



Working with cmd.exe:



tasklist



If you have Powershell:



get-process



Via WMI:



wmic process



(you can query remote machines as well with /node:ComputerOrIP, and there are a LOT more ways to customize this command: link)


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...