'Script Start
Set OpSysSet = GetObject("winmgmts:{impersonationLevel=impersonate,(RemoteShutdown)}//Your ip address").ExecQuery("select * from Win32_OperatingSystem where Primary=true")
for each OpSys in OpSysSet
OpSys.Reboot()
Next
'Script End
Got from website www.vittorio.tk
How to execute a VBScript
1 comment:
Good fill someone in on and this mail helped me alot in my college assignement. Thank you seeking your information.
Post a Comment