# Edit a group

> Change a group's membership after it has been created, which works differently for each group type.

Source: https://docs.capaone.com/capainstaller/the-capainstaller-console/configuration-management/how-to-use-configuration-management/working-with-groups/edit-a-group/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

How you change a group's membership after it has been created depends on the group type.

## Static groups

Membership of a static group is maintained manually.

**Remove a unit from the group**

|          |                                                                                                     |
|:---------|:----------------------------------------------------------------------------------------------------|
| **Step** | **Action**                                                                                          |
| 1        | Select the group in the navigation pane.                                                            |
| 2        | In the content view on the right, right-click a unit (or select several) and choose *Unlink*.       |

**Add a unit to the group** — use one of these methods:

- Add the unit(s) to the buffer, then right-click the group and choose *Paste computers*, or
- Run a CMS function (for example `CMS_AddComputerToStaticGroup`) from an OS Deployment script or a package.

## Dynamic groups

A dynamic group's membership is defined by a report in Reporting and Queries and is maintained automatically by the Replicator. To change which units are members, edit the underlying report.

|          |                                                                                                                                    |
|:---------|:-----------------------------------------------------------------------------------------------------------------------------------|
| **Step** | **Action**                                                                                                                         |
| 1        | Open the report the dynamic group is based on in [Reporting and Queries](/capainstaller/the-capainstaller-console/reporting-and-queries/). |
| 2        | Adjust the query criteria and save the report.                                                                                     |

The Replicator updates the group membership on its next run.

## Related

- [Groups](/capainstaller/the-capainstaller-console/configuration-management/what-is-configuration-management/groups/)
- [Create a static group](/capainstaller/the-capainstaller-console/configuration-management/how-to-use-configuration-management/working-with-groups/create-a-static-group/)
- [Create a dynamic group](/capainstaller/the-capainstaller-console/configuration-management/how-to-use-configuration-management/working-with-groups/create-a-dynamic-group/)
- [Delete a group](/capainstaller/the-capainstaller-console/configuration-management/how-to-use-configuration-management/working-with-groups/delete-a-group/)
