does it have to be vbscript ?
You could use
shutdown -m\\PC01 -r -f -t:5
shutdown -m\\PC02 -r -f -t:5
shutdown -m\\PC03 -r -f -t:5
This forces a shutdown (-s), forcing any apps to close (-f), in 5 seconds (-t:5)
For full sytanx see http://www.microsoft.com/r
or for a more elgant solution see
http://www.experts-exchang
Main Topics
Browse All Topics





by: merowingerPosted on 2008-04-02 at 06:56:11ID: 21263040
You can't execute the shutdown command from remote except you start shutdown.exe with paremeter /i....but this is only a gui interface...no command line!
The following script should be useful for you
Select allOpen in new window