Project

General

Profile

Actions

$wmiquery » History » Revision 2

« Previous | Revision 2/10 (diff) | Next »
Per Amundsen, 07/01/2015 01:47 AM


Added in 1.9.7

$wmiquery(query, N, key)

Performs a WMI query and return the N'th key.

Parameters

query - Query to perform.
N - The N'th match (optional, default is 1)
key - The key to get.

Example

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

Updated by Per Amundsen over 6 years ago · 2 revisions

Also available in: PDF HTML TXT