> 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/cloud/de/web-interface/help-and-tools/export/powershell-script-export-type.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# PowerShell-Skript-Exporttyp

Verwenden Sie ein PowerShell-Skript, um Devolutions Cloud-Daten nach JSON oder CSV zu exportieren und die Anmeldeinformationen der Anwendungsidentität automatisch oder manuell einzutragen.

Verwenden Sie ein PowerShell-Skript, um Ihre Daten im JSON- oder CSV-Format zu exportieren. Diese Methode ist nur mit Devolutions Cloud verfügbar und erfordert PowerShell 7 oder höher.

Wählen Sie zunächst, ob Sie Ihre Informationen automatisch oder manuell in das PowerShell-Skript eintragen möchten.

### Informationen automatisch eintragen

1. Klicken Sie in ***Hilfe & Tools*** auf ***Export***.
2. Wählen Sie den Exporttyp ***PowerShell-Skript***.
3. Erstellen Sie anschließend eine [Anwendungsidentität](https://docs.devolutions.net/cloud/de/web-interface/administration/management/application-identities/manage-application-identities.md) mit dem Recht, die gewünschten Tresore zu exportieren (weitere Einzelheiten finden Sie unter [Rollen und Berechtigungen](https://docs.devolutions.net/cloud/de/web-interface/administration/configuration-and-security/system-permissions/roles-and-permissions.md)). Aktivieren Sie ***Kann auf Benutzer-Tresore zugreifen*** nur, um jeden Benutzer-Tresor in den Export einzuschließen. Um einen einzelnen Tresor zu exportieren, siehe [Einen einzelnen Tresor mit PowerShell exportieren](https://docs.devolutions.net/cloud/de/knowledge-base/how-to-articles/export-a-single-vault-with-powershell.md).
4. Wählen Sie die Option ***Automatisch***.
5. Geben Sie das ***Anwendungsgeheimnis*** und den ***Anwendungsschlüssel*** Ihrer Anwendungsidentität in die entsprechenden Felder ein.
6. Geben Sie den ***Pfad zum Zielordner*** ein. Dorthin werden Ihre Daten exportiert.
7. Wählen Sie den Export im JSON- oder CSV-Format.
8. Klicken Sie auf ***Herunterladen***.
9. Führen Sie das heruntergeladene Skript mit PowerShell 7 aus.

Ihre Daten wurden in den Zielordner exportiert.

### Informationen manuell eintragen

1. Klicken Sie in ***Hilfe & Tools*** auf ***Export***.
2. Wählen Sie den Exporttyp ***PowerShell-Skript***.
3. [Erstellen Sie eine Anwendungsidentität](https://docs.devolutions.net/cloud/de/web-interface/administration/management/application-identities.md) und weisen Sie ihr die Rolle ***Tresorbesitzer*** oder eine benutzerdefinierte Rolle, die die Berechtigung ***Exportieren*** enthält, für den gewünschten Tresor zu.
4. Wählen Sie die Option ***Manuell***.
5. Wählen Sie den Export im JSON- oder CSV-Format.
6. Kopieren Sie das Skript und fügen Sie es in eine PowerShell-Datei (.ps1) ein.
7. Ändern Sie in Ihrem kopierten Skript die Variablen mit den entsprechenden Informationen. Siehe die Tabelle unten.

   <table><thead><tr><th width="211.79998779296875">Variable</th><th>Beschreibung</th></tr></thead><tbody><tr><td><code>$url</code></td><td>Geben Sie Ihre Devolutions Cloud-URL ein. Diese Variable wird automatisch eingetragen, kann aber weiterhin geändert werden.</td></tr><tr><td><code>$appSecret</code></td><td>Geben Sie das <em><strong>Anwendungsgeheimnis</strong></em> des Anwendungsbenutzers ein.</td></tr><tr><td><code>$appKey</code></td><td>Geben Sie den <em><strong>Anwendungsschlüssel</strong></em> des Anwendungsbenutzers ein.</td></tr><tr><td><code>$pathToExportedFolder</code></td><td>Geben Sie den <em><strong>Pfad zum Zielordner</strong></em> ein. Dorthin werden Ihre Daten exportiert.</td></tr></tbody></table>
8. Führen Sie das Skript mit PowerShell 7 aus.

Ihre Daten wurden in den Zielordner exportiert.


---

# 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/cloud/de/web-interface/help-and-tools/export/powershell-script-export-type.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.
