# Adding and removing groups

## Adding a group

Similar to steps, to add a Group into the Task Sequence, once the Task Sequence is open, click the blue "Edit mode" button on the upper left to enter edit mode.  Once in edit mode, the button will be replaced with a "Save all changes" button and a "Cancel" button. &#x20;

There are different ways to add groups.  The "Add group" button in the "Task sequence version editor" frame allows you to choose a step and have it added to the task sequence, by default, it will be added to the very end, at which point it can be moved to the desired location. &#x20;

<figure><img src="/files/Q43NN927whQR1qyRhngg" alt=""><figcaption></figcaption></figure>

Another way to add a group is to go to the group in which the desired destination for the group is and click the black and white folder icon to the right of the blue folder icon and group title.

<figure><img src="/files/a2obxU0mWD7GIlEg1Xjv" alt=""><figcaption></figcaption></figure>

## Removing a group

{% hint style="info" %}
Removing a group will also remove all of the groups and steps inside of the group, potentially removing important processes from the task sequence.&#x20;
{% endhint %}

To remove a group, ensure you are in "edit mode", then hover over the group destined for the rubbish heap, and click the trash bin icon.  The trash bin icon will change to red on hover over, then left click it and the group will be removed immediately from the task sequence.

<figure><img src="/files/MfBqe7By6HPPIDwDWDEq" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.2pintsoftware.com/deployr/adding-and-removing-groups.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
