> 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/de/remote-desktop-manager-powershell/powershell-scripting.md).

# PowerShell-Skripting

{% hint style="info" %}
Wir sind zu einem [GitHub-Repository](https://github.com/Devolutions/DevoSample-ps) umgezogen, in dem die verschiedenen Beispiele und Rezepte von Devolutions gespeichert sind. Sehen Sie dort nach, was verfügbar ist. Fragen und Beispiele sollten in unserem [Forum](https://forum.devolutions.net/product/powershell-module) angefragt werden.
{% endhint %}

Es gibt zwei Möglichkeiten, mit Remote Desktop Manager über PowerShell zu interagieren:

<table><thead><tr><th width="147"></th><th></th></tr></thead><tbody><tr><td><a href="/pages/UPcWtcRwbVZFnVrPJYgz">Modul</a></td><td>Devolutions.PowerShell-Modul: Es handelt sich um ein Modul, das viele Cmdlets bereitstellt, mit denen eine lokale Installation von Remote Desktop Manager „gesteuert“ wird. Daher unterscheidet es sich deutlich von den meisten anderen verfügbaren Modulen, da die Mehrheit dazu verwendet wird, mit einem Remote-Dienst zu kommunizieren. Das bedeutet, dass eine interaktive Windows-Sitzung in einem Benutzerkontext erforderlich ist.</td></tr><tr><td><a href="/pages/kOf7gZR0IncXY2Vn5Lv5">Benutzerdefinierte Aktionen</a></td><td>PowerShell-Codeausschnitte, die direkt in Remote Desktop Manager ausgeführt werden können. Die Aktionen können über <em><strong>Bearbeiten – Bearbeiten (Spezialaktionen) – Benutzerdefinierter PowerShell-Befehl</strong></em> gestartet werden. Die Vorteile dieses Ansatzes sind die folgenden:<br><br>1. Es ist nicht erforderlich, das Laden des passenden Moduls für die Instanz von Remote Desktop Manager zu handhaben.<br>2. Es ist nicht erforderlich, das Filtern von Einträgen zu handhaben. In den meisten Fällen würden Sie die Auswahl manuell direkt in Ihrem <em><strong>Navigationsbereich</strong></em> vornehmen oder, noch besser, die <em><strong>Erweiterte Suche</strong></em> verwenden, um Einträge in einem Zug auszuwählen.</td></tr></tbody></table>

#### Siehe auch

* [Devolutions Academy - Automatisierung von Aufgaben mit Skripten und Makros](https://academy.devolutions.net/student/path/1925316/activity/2668004)
* [Devolutions Academy – Integrierte Automatisierung: PowerShell-Skripte und Makros](https://academy.devolutions.net/student/activity/3380125)
* [Devolutions Academy - Remote-Verbindungen mit Erenisauslösern optimieren](https://academy.devolutions.net/student/path/1925316/activity/2668000)


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.devolutions.net/powershell/de/remote-desktop-manager-powershell/powershell-scripting.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
