Define a WMI query
- UpdatedAug 3, 2023
- 2 minutes to read
- Vancouver
- Service Mapping
As part of creating or modifying a discovery pattern, you can use the WMI query operation to execute a query on a remote Windows system either explicitly or automatically. Successful values are logged in a specified target table.
Before you begin
Role required: pd_admin
Navigate to the relevant pattern step:
- Select the relevant pattern step or click
to add a step.
Basic knowledge of programming is desirable.
About this task
This operation is relevant only for Windows.
Procedure
Example
This step uses the WMI Query operation to extract data on agents from the MicrosoftIdentityIntegrationAgent namespace and save this data in the variable table named $ManagementAgents.

What to do next
- Continue editing the pattern by adding a new step and defining its operation or
- Finalize the pattern.