> 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 en lot avec des commandes PowerShell personnalisées

Dans Remote Desktop Manager, pour modifier plusieurs ou tous les dossiers dans un coffre spécifique, vous devez utiliser la fonctionnalité [Recherche avancée](https://docs.devolutions.net/fr/rdm/commands/view/search/advanced/).

1. Accédez à ***Vue – Recherche – Recherche avancée*** (ou accédez-y à l'aide du raccourci clavier <kbd>F11</kbd>).

   ![](https://cdnweb.devolutions.net/docs/RDMW2054_2024_2.png)
2. Définissez la première condition de recherche sur ***Type de connexion***, puis précisez le type ***Dossier*** dans le deuxième menu déroulant.

   ![](https://cdnweb.devolutions.net/docs/RDMW2055_2024_2.png)
3. Cliquez sur ***Rechercher***.
4. Sélectionnez les dossiers que vous souhaitez 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 en même temps.
5. Faites un clic droit sur votre sélection et sélectionnez ***Modifier – Modifier (actions spéciales)***.

   ![](https://cdnweb.devolutions.net/docs/RDMW2056_2024_2.png)
6. Sélectionnez l'action spéciale ***Commande PowerShell personnalisée***, puis cliquez sur ***Exécuter***.

   ![](https://cdnweb.devolutions.net/docs/RDMW2057_2024_2.png)
7. Entrez 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 dynamically by asking a question.

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

```
GET https://docs.devolutions.net/powershell/fr/remote-desktop-manager-powershell/batch-edit-folders-with-custom-powershell-commands.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.
