Thursday, June 26, 2008

Execute a command on a remote computer

Sysinternals Suite has a lot of great free utilities.

Find them here: http://technet.microsoft.com/en-us/sysinternals/0e18b180-9b7a-4c49-8120-c47c5a693683.aspx

I had a need to execute a command on a different networked computer with a script and I found just the tool I needed here.

PsExec file://MachineName/ -c MyFile.exe

This command will copy the MyFile.exe program to the remote computer and execute it on the remote computer.

Pretty cool!

1 comment:

Remote Desktop said...

Its so highly informative things are posted in your blog. I was seeking for this type of blog only and also that you have a fresh and interesting content.
Web Conferencing