Table of ContentsCollection of functions introspecting some key elements of the system such as execution environment, powered by Windows Management Instrumentation (WMI).
| WMI Query |
| Technical Name | Type | Minimal Agent Version |
|---|---|---|
| query | asynchronous | WIN-3.24 |
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
| section | string | mandatory | WMI section to search FROM | |
| parameters | Array. |
optional | Array of SELECT attributes. If this is not defined, all attributes are retrieved. | |
| where | string | optional | WHERE string |
| Name | Type | Description |
|---|---|---|
| wmiResults | Array. |
WMI query results. |
Sample Code:
const computer = await irpa_core.wmi.query('Win32_ComputerSystem', ['Name', 'Model', 'Description', 'CurrentTimeZone', 'Roles']);