> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell/da/remote-desktop-manager-powershell/batch-edit-folders-with-custom-powershell-commands.md).

# Masseredigering af mapper med brugerdefinerede PowerShell-kommandoer

Brug Avanceret søgning og Brugerdefineret PowerShell kommando særlig handling i Remote Desktop Manager til masseredigering af flere mapper i en boks på én gang.

I Remote Desktop Manager, til edit several eller alle mapper i en specifik boks, De har til at bruge [Avanceret søgning](https://docs.devolutions.net/rdm/ribbon-menu-bar/view/search/advanced-search) funktion.

1. Go til ***View – Søgning – Avanceret søgning*** (eller adgang den ved hjælp af <kbd>F11</kbd> keyboard genvej).
2. Angiv første søgning betingelse til ***Forbindelse type***, derefter further angive ***Mappe*** type i sekundet drop-ned menu.
3. Click ***Søgning***.
4. Vælg mapperne De vil til edit i resultaterne.
   * Brug <kbd>Shift</kbd>+click at vælge several mapper en ved et klokkeslæt.
   * Brug <kbd>Ctrl</kbd>+<kbd>A</kbd> at vælge alle mapperne på én gang.
5. Rettighed-click på Deres valg og select ***Edit – Edit (særlig handlinger)***.
6. Vælg ***Brugerdefineret PowerShell kommando*** særlig handling, derefter click ***Execute***.
7. Enter Deres PowerShell kommando derefter click ***Ok***.

Kommandoen vil run på alle mapper og edit dem accordingly.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.devolutions.net/powershell/da/remote-desktop-manager-powershell/batch-edit-folders-with-custom-powershell-commands.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
