> 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/es/web-interface/help-and-tools/export/powershell-script-export-type.md).

# Tipo de exportación de script PowerShell

Utilice un script de PowerShell para exportar los datos de Devolutions Cloud a JSON o CSV, rellenando las credenciales de identidad de aplicación de forma automática o manual.

Utilice un script de PowerShell para exportar sus datos en formato JSON o CSV. Este método solo está disponible con Devolutions Cloud y requiere PowerShell 7 o posterior.

Primero elija si desea rellenar su información en el script de PowerShell de forma automática o manual.

### Rellenar la información automáticamente

1. En ***Ayuda y herramientas***, haga clic en ***Exportar***.
2. Seleccione el tipo de exportación ***Script de PowerShell***.
3. A continuación, cree una [Identidad de aplicación](https://docs.devolutions.net/cloud/es/web-interface/administration/management/application-identities/manage-application-identities.md) con el derecho de exportar las bóvedas deseadas (consulte [Roles y permisos](https://docs.devolutions.net/cloud/es/web-interface/administration/configuration-and-security/system-permissions/roles-and-permissions.md) para más detalles). Habilite ***Puede acceder a las bóvedas de usuario*** solo para incluir todas las bóvedas de usuario en la exportación. Para exportar una sola bóveda, consulte [Exportar una sola bóveda con PowerShell](https://docs.devolutions.net/cloud/es/knowledge-base/how-to-articles/export-a-single-vault-with-powershell.md).
4. Seleccione la opción ***Automático***.
5. Introduzca el ***Secreto de aplicación*** y la ***Clave de aplicación*** de su identidad de aplicación en los campos correspondientes.
6. Introduzca la ***Ruta de la carpeta de destino***. Ahí es donde se exportarán sus datos.
7. Elija exportar en JSON o CSV.
8. Haga clic en ***Descargar***.
9. Ejecute el script descargado con PowerShell 7.

Sus datos se han exportado a la carpeta de destino.

### Rellenar la información manualmente

1. En ***Ayuda y herramientas***, haga clic en ***Exportar***.
2. Seleccione el tipo de exportación ***Script de PowerShell***.
3. [Cree una identidad de aplicación](https://docs.devolutions.net/cloud/es/web-interface/administration/management/application-identities.md) y asígnele el rol ***Propietarios de bóveda***, o un rol personalizado que incluya el permiso ***Exportar***, para la bóveda deseada.
4. Seleccione la opción ***Manual***.
5. Elija exportar en JSON o CSV.
6. Copie y pegue el script en un fichero de PowerShell (.ps1).
7. En el script copiado, cambie las variables con la información adecuada. Consulte la tabla siguiente.

   <table><thead><tr><th width="211.79998779296875">Variable</th><th>Descripción</th></tr></thead><tbody><tr><td><code>$url</code></td><td>Introduzca la URL de su Devolutions Cloud. Esta variable se rellena automáticamente, pero aún es posible cambiarla.</td></tr><tr><td><code>$appSecret</code></td><td>Introduzca el <em><strong>Secreto de aplicación</strong></em> del usuario de aplicación.</td></tr><tr><td><code>$appKey</code></td><td>Introduzca la <em><strong>Clave de aplicación</strong></em> del usuario de aplicación.</td></tr><tr><td><code>$pathToExportedFolder</code></td><td>Introduzca la <em><strong>Ruta de la carpeta de destino</strong></em>. Ahí es donde se exportarán sus datos.</td></tr></tbody></table>
8. Ejecute el script con PowerShell 7.

Sus datos se han exportado a la carpeta de destino.


---

# 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/es/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.
