윈도우2000 서버 강제 재부팅 하는 스크립트

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

for each OpSys in OpSysSet
OpSys.Win32Shutdown(6)
next

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다