> 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/rdm/fr/concepts/advanced-concepts/events.md).

# Événements

Les événements dans Remote Desktop Manager déclenchent des macros, des scripts ou des outils avant et après l'ouverture ou la fermeture des connexions afin d'automatiser les tâches de session et le ne

Les événements dans Remote Desktop Manager vous permettent d'exécuter automatiquement des macros, des scripts ou des outils avant ou après l'ouverture ou la fermeture d'une connexion. Utilisez les quatre déclencheurs : Avant ouverture, Après ouverture, Avant fermeture et Après fermeture pour normaliser les tâches avant et après la connexion.

Les utilisations typiques comprennent le démarrage d'un outil auxiliaire requis, le lancement d'une macro de saisie ou l'exécution d'un script PowerShell pour recueillir des journaux ou faire le nettoyage après une session. Les événements fonctionnent de concert avec les macros et les scripts stockés dans vos coffres pour la réutilisation et la cohérence.

#### Sujets connexes

* [Paramètres des événements des types d'entrée](/rdm/fr/knowledge-base/how-to-articles/entry-types-events-settings.md)
* [Journaux](/rdm/fr/ribbon-menu-bar/window/logs.md)
* [Journaux d’activité](/rdm/fr/ribbon-menu-bar/reports/activity-logs.md)
* [Scripts PowerShell](https://docs.devolutions.net/powershell/fr/remote-desktop-manager-powershell/powershell-scripting)

#### Voir aussi

* [Devolutions Academy - Streamlining Remote Connections with Event Triggers](https://academy.devolutions.net/student/path/1925316/activity/2668000)
* [Blogue Devolutions - All Roads Lead to PowerShell](https://blog.devolutions.net/2023/09/all-roads-lead-to-powershell/)


---

# 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/rdm/fr/concepts/advanced-concepts/events.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.
