|No such thing as a small change|
Re: How to execute windows dos command using perl and how to login to another windows machine and execute dos command in thatby fluffyvoidwarrior (Monk)
|on Sep 18, 2012 at 12:55 UTC||Need Help??|
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.