WMIC /node:192.168.1.2 /user:user /password:pass process
WMIC
process where name=”qq.exe” call terminate
'restore all process in a file
wmic /output:C:\1.html /node:192.168.1.2 /user:user process list full /format:hform.xsl
input password :******
解释:
1)全局开关OUTPUT指明将这些信息保存在什么地方。
2)全局开关FORMAT指明了用什么样的格式,至于说有那些格式可以用,你可以参看C:\WINDOWS\system32\wbem目录中的*.xsl文件,你甚至不用管它们从哪里来的,用就是了。挨着看看,一定可以找到你喜欢的。