<job >
<script language="VBScript">
logip="202.204.48.112" //计算机名(IP)
user="" //用户名
password="" //密码
namespace="rootcimv2" //WMI名称空间
wScript.Echo "STRAT"
set wmiLocator = CreateObject ("WbemScripting.SWbemLocator")
set objwmi = wmiLocator.ConnectServer (logip, namespace, user, password)
set col =objwmi.execquery ("select * from Win32_Process")
for each colin in col
wScript.Echo colin.name
next
wScript.Echo "END"
</script>
</job>
文章来源于领测软件测试网 https://www.ltesting.net/
版权所有(C) 2003-2010 TestAge(领测软件测试网)|领测国际科技(北京)有限公司|软件测试工程师培训网 All Rights Reserved
北京市海淀区中关村南大街9号北京理工科技大厦1402室 京ICP备10010545号-5
技术支持和业务联系:info@testage.com.cn 电话:010-51297073