> 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/devolutions-cloud-powershell/powershell-module.md).

# PowerShell-Modul

Das [Devolutions.PowerShell-Modul](/powershell/de/remote-desktop-manager-powershell/devolutions.powershell-core-module.md) ist eine Möglichkeit, auf Elemente in Devolutions Cloud zuzugreifen und diese zu erstellen, zu aktualisieren und zu entfernen. Dies hilft Ihnen, einige Vorgänge/Skripte zu automatisieren. Nachdem Sie das Devolutions.PowerShell-Modul installiert haben, können Sie das Modul verwenden und sich mit Ihrer Devolutions Cloud-Instanz verbinden.

### Voraussetzungen

* PowerShell 7.4 oder höher installiert:
  * [Windows](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows)
  * [macOS](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-macos)
  * [Linux](https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-linux)
* Ein [Anwendungsbenutzer](https://docs.devolutions.net/cloud/de/web-interface/administration/management/application-identities/manage-application-identities)

### Verbindung mit Ihrer Devolutions Cloud-Instanz herstellen

{% hint style="info" %}
Die vollständige Liste der verfügbaren Befehle finden Sie unter [PowerShell-Befehle](/powershell/de/powershell-commands.md). Weitere Installationsoptionen finden Sie in der [PowerShell Gallery](https://www.powershellgallery.com/packages/devolutions.powershell/).
{% endhint %}

1. Sobald PowerShell 7.4 oder höher installiert ist, öffnen Sie ein PowerShell-Terminal und installieren Sie das Devolutions.PowerShell-Modul mit dem folgenden Befehl: `Install-Module -Name Devolutions.Powershell`

   ![](https://cdnweb.devolutions.net/docs/docs_en_hub_Hub2136.png)
2. Verbinden Sie sich mit Devolutions Cloud über den untenstehenden Befehl. Wenn Sie keinen Fehler sehen, bedeutet das, dass Sie mit Ihrer Devolutions Cloud-Instanz verbunden sind.

   `Connect-HubAccount -Url https<area>://yourhub.devolutions.app/ -ApplicationSecret [YOUR_APPLICATION_SECRET] -ApplicationKey [YOUR_APPLICATION_KEY]`

   ![](https://cdnweb.devolutions.net/docs/docs_en_hub_Hub4062.png)

### Befehlsbeispiel und Verwendung

1. Mit dem Befehl `Get-HubVault` können Sie die Tresore abrufen, die Ihr Anwendungsbenutzer anzeigen und bearbeiten kann. Wenn Sie die Berechtigungen Ihres Anwendungsbenutzers für mehrere Tresore festgelegt haben, sehen Sie ein Array von Tresoren.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_hub_Hub4063.png" alt=""><figcaption></figcaption></figure>
2. Mit diesen Tresorinformationen können Sie alle Einträge mit dem Befehl `Get-HubEntry` und der Tresor-ID abrufen. Wenn Sie mehr als einen Eintrag haben, sehen Sie ein Array von Einträgen.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_hub_Hub4064.png" alt=""><figcaption></figcaption></figure>
3. Um bestimmte Informationen anzuzeigen, können Sie die Rückgabe des Devolutions Cloud-Befehls in eine Variable schreiben und das abrufen, was Sie benötigen, wie beispielsweise die Verbindungs-ID in diesem Beispiel:

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_hub_Hub4065.png" alt=""><figcaption></figcaption></figure>
4. Um diesen Eintrag zu bearbeiten, können Sie das Objekt ändern und es mit dem Befehl `Set-HubEntry` aktualisieren.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_hub_Hub4066.png" alt=""><figcaption></figcaption></figure>

Sie können jederzeit in Ihrer Webversion von Devolutions Cloud überprüfen, ob die Änderungen vorgenommen wurden.


---

# 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/devolutions-cloud-powershell/powershell-module.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.
