@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]