摘要: ChangeStartMode Method of the Win32_Service ClassThe ChangeStartMode WMI class method modifies the start mode of a Win32_Service.This topic uses Managed Object Format (MOF) syntax. For more information about using this method, see Calling a Method.SyntaxMOFuint32 ChangeStartMode( [in] string StartMo 阅读全文
posted @ 2009-03-04 16:18 dzqabc 阅读(365) 评论(0) 推荐(0)
摘要: 1 VBS取得本机IP strComputer = "." Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2") Set IPConfigSet = objWMIService.ExecQuery("Select IPAddress from Win32_NetworkAdapterConfiguration Where IPEnabled=TRUE") For Each IPConfig in IPCo 阅读全文
posted @ 2009-03-04 10:26 dzqabc 阅读(3381) 评论(0) 推荐(0)