Actions
$wmiquery » History » Revision 7
« Previous |
Revision 7/12
(diff)
| Next »
Per Amundsen, 07/01/2015 05:07 AM
Added in 1.9.7
$wmiquery(query, [N], key)
Performs a WMI query and return the N'th value.
Parameters
query - Query to perform.
[N] - If 0, numbers of results else the N'th 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 9 years ago · 7 revisions