# Create a query

> Use queries to make sure the right software ends up in the right groups and folders.

Source: https://docs.capaone.com/capainstaller/the-capainstaller-console/asset-management/how-to-use-asset-management/create-a-query/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

# Introduction

To ensure the correct software is present in the correct groups and folders you can use queries. Queries can be initiated from several right-click menus. When the query is executed, not already linked software to an application group is linked.

![](/attachments/capainstaller/aa60bb76-8c35-4649-bbca-878fc33034be.webp)

|               |                                                                   |
|:--------------|:------------------------------------------------------------------|
| **Element**   | **Description**                                                   |
| Query Name    | Name of the Software query e.g. “Microsoft\*” or “CapaInstaller”. |
| Query Version | The version of the Software query e.g. “7.5.” or “4.1.”.          |
| Add           | Adds the entered query to the query list.                         |
| Remove        | Removes the selected queries from the list.                       |

|          |                                                             |
|:---------|:------------------------------------------------------------|
| **Step** | **Action**                                                  |
| 1        | Right-click on the group/folder you want to add a query to. |
| 2        | Click *Create group Query.*                                 |
| 3        | Name the Query.                                             |
| 4        | Type in the version of which the query should search for.   |

## Related

- [Application groups](/capainstaller/the-capainstaller-console/asset-management/what-is-asset-management/application-groups/)
- [Work with application groups](/capainstaller/the-capainstaller-console/asset-management/how-to-use-asset-management/work-with-application-groups/)
