重启计算机
vbscript吧
全部回复
仅看楼主
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
level 1
ding!@!@#!@
2007年04月11日 06点04分 2
level 1
有没有人能解释一下?有点不懂
2007年04月21日 01点04分 3
level 0
典型的通过VBS使用WMI,控制远程计算机重启,不过首先要有管理员权限
2007年09月18日 08点09分 4
level 0
SQL语句是怎么回事?谁能解释下?
2007年09月19日 14点09分 5
1