WMI Scripting API Objects

Table C-3 describes WMI scripting objects and how they are used.

Table C-3. WMI Scripting API Objects

Object

Description

SWbemDateTime

Constructs and parses CIM date/time values. This is a helper object that is available in Windows XP.

SWbemEventSource

Retrieves events in conjunction with SWbemServices.ExecNotificationQuery.

SWbemLastError

Provides extended error information when an error occurs.

SWbemLocator

Obtains an SWbemServices object that can get access to WMI on a particular host computer.

SWbemMethod

Contains a single WMI method definition.

SWbemMethodSet

Gets a collection of SWbemMethod objects.

SWbemNamedValue

Contains a single named value.

SWbemNamedValueSet

Gets access to a collection of SWbemNamedValue objects.

SWbemObject ...

Get Microsoft® Windows® Scripting Self-Paced Learning Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.