With pstools You can run any command from your Windows PC to any other one. A valid command line alternative to pstools for the linux operating system is winexe.
To install winexe un a natty-ubuntu host (maybe it will work on a quite new debian too), You can add theese twho lines to your sources.list file:
deb http://ppa.launchpad.net/jdthood/winexe/ubuntu natty main
deb-src http://ppa.launchpad.net/jdthood/winexe/ubuntu natty main
then
apt-get update && apt-get install winexe
Once installed winexe, you can do useful things like
winexe //myserver1 –user “DOMAIN\\user” “tasklist /FI \”CPUTIME gt 00:00:10\””
or simply
winexe //myserver2 –user “Administrator” cmd
and many others! 🙂