> 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/fr/remote-desktop-manager-powershell/batch-edit-folders-with-custom-powershell-commands.md).

# Modifier des dossiers par lots avec des commandes PowerShell personnalisées

Utilisez la recherche avancée et l'action spéciale Commande PowerShell personnalisée dans Remote Desktop Manager pour modifier par lots plusieurs dossiers d'un coffre à la fois.

Dans Remote Desktop Manager, pour modifier plusieurs dossiers ou tous les dossiers d'un coffre en particulier, vous devez utiliser la fonctionnalité [Recherche avancée](https://docs.devolutions.net/rdm/fr/ribbon-menu-bar/view/search/advanced-search).

1. Allez à ***Affichage – Recherche – Recherche avancée*** (ou accédez-y à l'aide du raccourci clavier <kbd>F11</kbd>).
2. Réglez la première condition de recherche à ***Type de connexion***, puis précisez le type ***Dossier*** dans le deuxième menu déroulant.
3. Cliquez sur ***Rechercher***.
4. Sélectionnez les dossiers que vous voulez modifier dans les résultats.
   * Utilisez <kbd>Shift</kbd>+clic pour sélectionner plusieurs dossiers un à la fois.
   * Utilisez <kbd>Ctrl</kbd>+<kbd>A</kbd> pour sélectionner tous les dossiers d'un coup.
5. Faites un clic droit sur votre sélection et sélectionnez ***Modifier – Modifier (actions spéciales)***.
6. Sélectionnez l'action spéciale ***Commande PowerShell personnalisée***, puis cliquez sur ***Exécuter***.
7. Saisissez votre commande PowerShell, puis cliquez sur ***Ok***.

La commande s'exécutera sur tous les dossiers et les modifiera en conséquence.


---

# 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/fr/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.
