I want to get the information in the Task Manager's Processes tab into Excel.
I want to do this because I am trying to make an image to deploy to a few workstation and need to see what I should include as running processes at startup, taking memory usage into account.
So is there any way I can extract the data as a CSV or .xls file?
2 Answers
You can't do this using the task manager itself, but you can use the built-in tasklist command line program to do it. Open a command prompt (cmd.exe) and use the following commands:
- Type
tasklistto output a list of all the currently running processes - To output as a csv, type
tasklist /FO csv - To save the output of the command line to a file, add
> filename.csvto the end of the command; for example,tasklist /FO csv > "%userprofile%\desktop\tasks.csv".
For full documentation on the various options for what to output, type tasklist /? into the command prompt.
One line in CMD
Replace <username> to your user name and run in cmd:
tasklist /v /FO csv > "C:\Users\<username>\Documents\tasks.csv"For more documentation info go here:
1