level 2
276542471
楼主
strComputer = "atl-dc-01"Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate,(Shutdown)}!\\" & strComputer & "\root\cimv2")Set colOperatingSystems = objWMIService.ExecQuery _ ("Select * from Win32_OperatingSystem")For Each objOperatingSystem in colOperatingSystems ObjOperatingSystem.Reboot()Next
2005年12月31日 20点12分
1