MetricsHub
							MetricsHub Community Connectors 1.0.14
							
						- 
									
									
										Home
									
									
									
- Connector Design Guide Detection 12
WMI (Detection)
The goal of this part is to see how to define WMI criteria.
connector:
  # ...
  detection: # <object>
    # ...
    criteria: # <object-array>
    - type: wmi
      query: # <string>
      namespace: # <string>
      expectedResult: # <string>
Input Properties
| Input Property | Description | 
|---|---|
| query | WMI query to be executed | 
| namespace | WMI namespace providing the context for the WMI query. Use automaticso that the namespace is automatically determined | 
| expectedResult | Regular expression that is expected to match the result of the WMI query | 
Example
connector:
  detection:
    criteria:
    - type: wmi
      query: SELECT Name FROM WMINET_InstrumentedAssembly
      namespace: root\LibreHardwareMonitor
Search Results for {{siteSearch | truncate:'50'}}
							{{resultArray.length}}
							
						
						
						
						
						
					
						No results.
					
				