|
Senior Member
|
引用:
Originally posted by Chief_WU
請問有沒有辦法啟動或是關閉區域網路中的特定電腦
ex
my ip is 192.168.0.100
i wanna shutdown this workstation 192.168.0.143
|
喚醒用AMD的網路開機程式,前提須支援網路開機
關閉可用script ,用法請參照 http://forum.pcdvd.com.tw/showthrea...threadid=223002
下面為script的語法把他貼在文字檔上面附檔名改成vbs執行即可
strComputer = "另一台電腦名稱"
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate,(Shutdown)}!\\" & strComputer & "\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery _
("Select * from Win32_OperatingSystem")
For Each objOperatingSystem in colOperatingSystems
ObjOperatingSystem.Shutdown()
Next
__________________
我是誰
|