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

WMIQuery.PropertyValue

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

Parameters

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"

Result

Returns value or error.

Description

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