tasklist /v /fi “PID gt 2000” /fo csvThe above command lists all tasks with a process ID greater than 2000, and display them in CSV format, type:
tasklist /fi “memusage gt memorysize”The above command list process based on memory size than usage.
tasklist /fi “username eq userName”
tasklist /v /fi “STATUS eq running”The above command lists all current running processes.
tasklist /fi “status eq not responding”above command pulls all the processes that are not responding. For checking the processes running on the remote computer then use the below command.
tasklist /s computername1
tasklist /s WIN10/u hubdomain\raj1/p password@12The above command connects to the remote computer win10 and lists out all the processes on it. Thank you for reading this article, if you have any questions please let us know. Thank you for visiting my site, for any scripts in these articles you are testing please make sure you have tested this script in our lower environment before you run in production.