Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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 OK 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

Created 22nd June 2015, last changed 22nd June 2015


WMIQuery.PropertyType - WMIQuery.Query

Feedback: Report problem or ask question.