level 1
linmuyu
楼主
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 这个程序非常好,但我的水平还看不懂,里边的一些函数功能我不明白,如果有谁懂的话可以给大家讲一下
2006年06月01日 06点06分
1