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

# PowerShell module

Installér Devolutions.PowerShell modul og connect til Devolutions Cloud at oprette, retrieve, og opdatering bokse og poster via PowerShell.

[Devolutions.PowerShell modul](/powershell/da/remote-desktop-manager-powershell/devolutions.powershell-core-module.md) er en måde til adgang, create, opdatering, og remove elementer i Devolutions Cloud. Denne vil hjælp De til automate nogle handlinger/scripts. Efter De install Devolutions.PowerShell modul, De bliver ready til at bruge modulet og connect til Deres Devolutions Cloud instans.

### Forudsætninger

* PowerShell 7.4 eller later installeret:
  * [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)
* En [programbruger](https://docs.devolutions.net/cloud/web-interface/administration/management/application-identities/manage-application-identities)

### Connecting til Deres Devolutions Cloud instans

{% hint style="info" %}
For fuld liste af tilgængelig kommandoer, see [PowerShell kommandoer](/powershell/da/powershell-commands.md). Anden installation indstillinger kan være found i [PowerShell Gallery](https://www.powershellgallery.com/packages/devolutions.powershell/).
{% endhint %}

{% hint style="info" %}
Starting med version 2026.2 af Devolutions.PowerShell modul, Devolutions Cloud kommandoer brug `DC` prefix i stedet for `Hub` (for eksempel, `Get-DCVault` i stedet for `Get-HubVault`). former `Hub` kommando navne remain tilgængelig som aliasser, så eksisterende scripts keep working.
{% endhint %}

1. Én gang PowerShell 7.4 eller later er installeret, open en PowerShell terminal og install Devolutions.PowerShell modul med følgende kommando: `Install-Module -Name Devolutions.Powershell`
2. Opret forbindelse til Devolutions Cloud ved hjælp af kommandoen under. Hvis De ikke see en fejl, den means De er forbundet til Deres Devolutions Cloud instans.

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

### Kommando eksempel og brug

1. Med `Get-DCVault` kommando, De kan get bokse at Deres programbruger kan view og edit. Hvis De har sæt tilladelserne af Deres programbruger til flere bokse, De vil see en matrix af bokse.
2. Med denne boks oplysning, De kan get alle af poster med kommandoen `Get-DCEntry` og boksen ID. Hvis De har flere end en post, De vil see en matrix af poster.
3. Til view specifik oplysning, De kan put Devolutions Cloud kommando return til en variabel og retrieve hvad De behøver, som forbindelsen ID i denne eksempel:
4. Til edit denne post, De kan ændring objektet og opdatering den med `Set-DCEntry` kommando.

Ved enhver moment, De kan validate i Deres web version af Devolutions Cloud at ændringerne er blevet made.


---

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