To view all running processes on a remote PC execute the following from the command line:
tasklist /s remoteServer /u userName
To view a specific running process on a remote PC execute the following from the command line:
tasklist /S remoteServer /u userName /FI "IMAGENAME eq filename"
For example to see if Outlook.exe is running: tasklist /S jsmith-win7 /FI "iMAGENAME eq outlook*"
To kill a specific process running on a remote PC using the PID# run the following from the command line:
taskkill /S remoteServer /u userName /PID processId
For example to kill process ID # 5088: taskkill /S jsmith-win7 /u administrator /p password /PID 5088
To kill a specific process on a remote PC using the image name, run the following the command line: name
taskkill /s remoteServer /u userName /FI "IMAGENAME eq filename"
For example to kill Outlook.exe: taskkill /S jsmith-win7 /FI "imagename eq Outlook*"
Note: You only need to pass the user credentials if the account you are runing these commands as does not have administrative rights on the remote PC.