|laziness, impatience, and hubris|
If you have a local windows network connection you can issue remote shell commands
For example we use this to reboot a remote machine
I don't see why you couldn't use perl to issue these commands directly or call a batch file
shutdown /r /m \\wibble-win2003
mstsc -v:wibble-win2003 /F –console
Checkout the windows command reference, it's a very good resource for windows shell scripting. I don't know if it comes with non-server versions but it's downloadable from microsoft.
Log on to target computer over local network as administrator or it won't reboot cos you don't have permission.
In reply to Re: How to execute windows dos command using perl and how to login to another windows machine and execute dos command in that