Project

General

Profile

Actions

$wmiquery » History » Revision 9

« Previous | Revision 9/12 (diff) | Next »
Per Amundsen, 08/10/2015 08:54 AM


Added in 1.9.7

$wmiquery([path], query, [N], key)

Performs a WMI query and return the Nth value.

Parameters

[path] - Optional path.
query - Query to perform.
[N] - If 0, numbers of results else the Nth value (optional, default is 1)
key - The key to get.

Example

; Prints the cpu l2 cache
//echo -ag l2 cache is $wmiquery(SELECT * FROM Win32_Processor, L2CacheSize)

Updated by Per Amundsen over 8 years ago · 9 revisions

Also available in: PDF HTML TXT