Killing Remote Tasks In Dos Or PowerShell.
PSkill is part of Microsoft’s Sysinternals collection of free tools.
You can get PSKill as a part of PsTools collection from here.
To use pskill you either have to be in DOS command (cmd) window or download and install PowerShell.
Usage: pskill [-t] [\\computer [-u username [-p password]]] <process ID | name>
-t Kill the process and its descendants.
-u Specifies optional user name for login to remote computer.
-p Specifies optional password for user name. If you omit this you will be prompted to enter a hidden password.
process ID | name The process or processes to be killed.
-Help Displays the supported options.
For example
>pskill \\home-computer firefox
You can also use pslist (with the same syntax) to list processes on the remote or local computer and then use the resulting name and ID of the processes in pskill.
