摘要: REM 输入并回显你的名字 '使用InputBox和Msgbox函数 Dim name,msg msg="请输入你的名字:" name=Inputbox(msg,"名称") Msgbox(name) ie显示服务列表strComputer = "."Set objExplorer = WScript.CreateObject("InternetExplorer.Application")objEx... 阅读全文
posted @ 2007-03-11 21:20 ahuo 阅读(434) 评论(0) 推荐(0) 编辑
摘要: WMI 测试器 (wbemtest.exe)WMI 命令行工具 (wmic.exe)wmic:root\cli>process /?PROCESS - 进程管理。提示: BNF 的别名用法。(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) ... 阅读全文
posted @ 2007-03-11 13:52 ahuo 阅读(2816) 评论(5) 推荐(0) 编辑
摘要: using System.Management; ManagementClass mc = new ManagementClass("Win32_Service"); ManagementObjectSearcher sr = new ManagementObjectSearcher("SELECT * FROM Win32_Service WHER... 阅读全文
posted @ 2007-03-11 13:34 ahuo 阅读(1468) 评论(0) 推荐(0) 编辑
摘要: 什么是 WMI?WMI最初于 1998 年作为一个附加组件与 Windows NT 4.0 Service Pack 4 一起发行,是内置在 Windows 2000、Windows XP 和 Windows Server 2003 系列操作系统中核心的管理支持技术。基于由 Distributed Management Task Force (DMTF) 所监督的业界标准,WMI 是一种规范和基础... 阅读全文
posted @ 2007-03-11 11:31 ahuo 阅读(1620) 评论(1) 推荐(0) 编辑