Project

General

Profile

$wmiquery » History » Revision 2

Revision 1 (Per Amundsen, 07/01/2015 01:47 AM) → Revision 2/12 (Per Amundsen, 07/01/2015 01:47 AM)

_Added in 1.9.7_ 

 *$wmiquery(query, N, key)* 

 Performs a "WMI":https://msdn.microsoft.com/en-us/library/aa394582%28v=vs.85%29.aspx 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* 

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