TECHDIIP

  • Tech
  • Windows
  • Powershell
  • Scripts
  • News
  • Games

Tasklist Command Explained With Examples

27 June 2020 admin Leave a Comment

Tasklist Command is a very useful command in windows workstation or server operating system, we can list, export all processes running on the computer and also it has remote option query the processes running on the remote computers. Tasklist command lists out all the processes running on your local or remote computer. When there is a need to find a process with PID or name we can use this command, please find the syntax and examples of this tasklist command.

tasklist /v /fi “PID gt 2000” /fo csv

The 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”

You can find the list of the processes a user is running, you need to replace the userName with the actual user name.

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@12

The 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.

Windows

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Techdiip © 2012 - 2020 | Please Read Our

  • Privacy Policy
  • Disclaimer – User Agreement
  • About Us
  • Contact Us