Is there any command to kill a process from the command line? Sort of like kill <process>?
Yes, use the TSKILL command.
The one you want is pstools
and has a pskill cmd line exe along with a load of funky stuff.
Feel free to PM me if you need any more help. Just spent a couple of weeks designing a large scale system which uses pstools heavily.