Export (0) Print
Expand All
0 out of 4 rated this helpful - Rate this topic

Scripting API for WMI

The WMI scripting reference contains definitions for the WMI Scripting API. Use this API if writing applications with Microsoft Visual Basic, Visual Basic for Applications, Visual Basic Scripting Edition (VBScript), or any other scripting language that supports active scripting technologies.

WMI scripting objects, except for SWbemDateTime are not marked safe for scripting for scripts running on HTML pages in Internet Explorer. Therefore, unless the security level within Internet Explorer is lowered, the script will fail. SWbemDateTime is marked safe for initialization and scripting. However, use all WMI scripting objects in GetObject and CreateObject calls on server-side code in Active Server Pages (ASP).

Related topics

WMI Reference
WMI Return Codes

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.