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

# Módulo de PowerShell

El [módulo Devolutions.PowerShell](/powershell/es/remote-desktop-manager-powershell/devolutions.powershell-core-module.md) es una forma de acceder, crear, actualizar y eliminar elementos en Devolutions Cloud. Esto le ayudará a automatizar algunas operaciones/scripts. Después de instalar el módulo Devolutions.PowerShell, estará listo para utilizar el módulo y conectarse a su instancia de Devolutions Cloud.

### Requisitos previos

* PowerShell 7.4 o posterior instalado:
  * [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)
* Un [usuario de aplicación](https://docs.devolutions.net/cloud/es/web-interface/administration/management/application-identities/manage-application-identities)

### Conectarse a su instancia de Devolutions Cloud

{% hint style="info" %}
Para consultar la lista completa de comandos disponibles, consulte [Comandos de PowerShell](/powershell/es/powershell-commands.md). Puede encontrar otras opciones de instalación en la [PowerShell Gallery](https://www.powershellgallery.com/packages/devolutions.powershell/).
{% endhint %}

1. Una vez instalado PowerShell 7.4 o posterior, abra un terminal de PowerShell e instale el módulo Devolutions.PowerShell con el siguiente comando: `Install-Module -Name Devolutions.Powershell`

   ![](https://cdnweb.devolutions.net/docs/docs_en_hub_Hub2136.png)
2. Conéctese a Devolutions Cloud utilizando el comando siguiente. Si no aparece ningún error, significa que está conectado a su instancia de Devolutions Cloud.

   `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)

### Ejemplo y uso del comando

1. Con el comando `Get-HubVault`, puede obtener las bóvedas que su usuario de aplicación puede ver y editar. Si ha configurado los permisos de su usuario de aplicación para varias bóvedas, verá una matriz de bóvedas.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_hub_Hub4063.png" alt=""><figcaption></figcaption></figure>
2. Con esta información de la bóveda, puede obtener todas las entradas con el comando `Get-HubEntry` y el ID de la bóveda. Si tiene más de una entrada, verá una matriz de entradas.

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_hub_Hub4064.png" alt=""><figcaption></figcaption></figure>
3. Para ver información específica, puede asignar el resultado del comando de Devolutions Cloud a una variable y recuperar lo que necesite, como el ID de conexión en este ejemplo:

   <figure><img src="https://cdnweb.devolutions.net/docs/docs_en_hub_Hub4065.png" alt=""><figcaption></figcaption></figure>
4. Para editar esta entrada, puede modificar el objeto y actualizarlo con el comando `Set-HubEntry`.

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

En cualquier momento, puede validar en su versión web de Devolutions Cloud que los cambios se han realizado.


---

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