@WMINot in LE
Print Topic  Return to Overview  Previous Topic  Next Topic 

@WMI[namespace,"wql search"[,enum]]:  Returns the result of the WMI query. 

 

The optional enum parameter specifies the property instance to return for classes that return multiple properties.  You can omit the enum parameter if you're querying a single property and instance.

 

For details on what information is available, see the WMI and WQL documentation on MSDN (msdn.microsoft.com).

 

See also WMIQUERY.

 

Examples:

 

%@wmi[root\cimv2,"SELECT name FROM Win32_Processor"]

 

%@wmi[root\cimv2,"SELECT name, state FROM Win32_service",4]

 

Topic "f_wmi.htm" last edited 4/28/2008. ©2008  JP Software, Inc.
Keywords: @WMI,Windows Management Instrumentation