| Reboot Remote Computer |
|
|
|
| Written by Cheyenne Harden | |
|
Well, I had a script that would log off all of the computers in an OU. But, what if you just wanted to log off or reboot one computer?!? Oops... I didn't think of that! Well, I guess I can't say that any more. This script will allow you to reboot, logoff or shutdown any computer.
----------COPY EVERYTHING BELOW THIS LINE---------- 'This script will logoff, shutdown or reboot a computer. On Error Resume Next 'remotely reboot a computer Dim sUser,sPassword, sClient, sShutdown 'set remote credentials 'open list of client names 'Connect to remote WMI
WScript.Echo "Task Completed!"
PLEASE MAKE SURE NO WORD WRAPPING IS HAPPENING IN YOUR SCRIPT!!! To make this script work you will need three things!
|
| < Prev | Next > |
|---|
















