Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Queries the value of the property.

Component Version macOS Windows Linux Server iOS SDK
WMIQuery 5.2 ❌ No ✅ Yes ❌ No ✅ Yes, on Windows ❌ No
MBS( "WMIQuery.PropertyValue"; WMIQueryRef; Name )   More


Parameter Description Example
WMIQueryRef The reference to the query. Create it with WMIQuery.New and destroy them with WMIQuery.Release. $ref
Name The name of the property to query. "test"


Returns value or error.


Queries the value of the property.
The plugin returns text and number types as text or numbers.
Other data types are tried to convert to text.
A special handling is adde for Arrays of Int32 and Text to return them as lists.
If you find an unsupported property type, please tell us, so we can add it here.

See also

Example Databases

This function checks for a license.

Created 22nd June 2015, last changed 9th November 2021

WMIQuery.PropertyType - WMIQuery.Query