2008. 5. 26. 13:57

리붓팅 vbscript

리붓팅 vbscript


Set OpSysSet = GetObject("winmgmts:{(Shutdown)}//./root/cimv2").ExecQuery("select *_ from Win32_OperatingSystem where Primary=true")

for each OpSys in OpSysSet
       OpSys.Reboot()
next


자료 출처
http://www.wssplex.net/