> 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/rdm/da/ribbon-menu-bar/reports/export-reports.md).

# Eksporter rapporter

Eksportér rapporter i Remote Desktop Manager fra kommandolinjen ved hjælp af filer med rapportindstillinger, ideelt til planlagt automatisering med batchfiler.

Funktionen ***Eksportér rapporter*** er en måde at udføre og eksportere rapporter på via en kommandolinje. De kan bruge denne funktion i en genvej eller i en batchfil og bruge Windows Opgavestyring til at udføre den.

De vil kunne eksportere Datarapport, Inventarrapport samt de fleste af de rapporter, der findes på vores liste Generér rapport, bortset fra Brug af adgangskoder.

{% hint style="info" %}
De skal have rettighederne til at køre rapport i Remote Desktop Manager for at bruge denne funktion.
{% endhint %}

### Indstillinger

For rapporter, der indeholder indstillinger, skal De begynde med at eksportere Deres rapportindstillinger for at oprette den `.rdr`-fil, som kommandolinjen bruger til at generere rapporterne. Her er en liste over rapporter, der indeholder indstillinger:

1. Gå til båndet i Remote Desktop Manager, og vælg ***Rapporter – Flere rapporter – Postoplysninger***. Klik på ***Eksportér indstillinger*** i tekstknappen ***Mere***. Det opretter en \*.rdr-fil, der indeholder alle Deres rapportindstillinger. Det er også her, Deres rapport-id findes (det bliver nyttigt senere).
2. I Deres Windows-kommandoprompt skal De angive følgende kommandolinje:

```powershell
C:\*** /DataSource:*** /report:***/reportoutput:"***" /reportsettings:"***.rdr"
```

<table><thead><tr><th width="150">PARAMETRE</th><th>BESKRIVELSE</th></tr></thead><tbody><tr><td><strong>C:\</strong></td><td>Angiv den sti, der bruges til at starte Deres program Remote Desktop Manager (stien til filen RemoteDesktopManager.exe)</td></tr><tr><td><strong>/DataSource</strong></td><td>Angiv arbejdsområde-id'et.</td></tr><tr><td><strong>/report</strong></td><td>Angiv den type rapport, der skal genereres, eller rapport-id'et.</td></tr><tr><td><strong>/reportoutput</strong></td><td>Angiv stien, hvor Deres rapport skal gemmes, og navnet på den netop genererede rapport.</td></tr><tr><td><strong>/reportsettings</strong></td><td>Angiv stien til Deres fil med rapportindstillinger (.rdr).</td></tr></tbody></table>

For at finde Deres arbejdsområde-id og den kommandolinje, der bruges til at starte Remote Desktop Manager, skal De redigere en af Deres sessioner fra Deres arbejdsområde og vælge ***Postoplysninger***.

Her er en liste over typer af ***Rapporter***, De kan finde i Remote Desktop Manager, og det navn, der skal angives i kommandolinjen for at generere rapporten:

<table><thead><tr><th width="250">RAPPORTTYPE</th><th>RAPPORTNAVN (TYPE), DER SKAL INDSÆTTES I KOMMANDOLINJEN</th></tr></thead><tbody><tr><td><strong>Rapport over aktivitetslogge</strong></td><td>SharedConnectionLog</td></tr><tr><td><strong>Duplikeret post</strong></td><td>DuplicateEntry</td></tr><tr><td><strong>Postoplysninger</strong></td><td>ConnectionInformation</td></tr><tr><td><strong>Poststatus</strong></td><td>ConnectionStatus</td></tr><tr><td><strong>Liste over udløbne poster</strong></td><td>ConnectionExpiredEntry</td></tr><tr><td><strong>Udløbne pas</strong></td><td>ConnectionExpiredPassport</td></tr><tr><td><strong>Udløbet software</strong></td><td>ConnectionExpiredSoftware</td></tr><tr><td><strong>Udløbne garantier</strong></td><td>ConnectionExpiredWarranty</td></tr><tr><td><strong>Adgangskodekompleksitet</strong></td><td>PasswordComplexity</td></tr><tr><td><strong>VPN-grupper</strong></td><td>VPNGroup</td></tr></tbody></table>

Her er et eksempel på en kommandolinje til en rapport over postoplysninger:

```powershell
C:\Program Files (x86)\Devolutions\Remote Desktop Manager\RemoteDesktopManager<area>.exe /DataSource:8a4f2f70-5e8a-4d6c-9c7b-119080a4c879 /report:EntryInformation /reportoutput:C:\dev\devolutions\Rapport\rapportEntry.csv /reportsettings:C:\dev\devolutions\Rapport\SettingsEntryInformation.rdr
```

#### Se også

* [Devolutions Academy – Eksportér Deres rapporter fra Remote Desktop Manager](https://academy.devolutions.net/student/page/2750537-export-your-reports-from-remote-desktop-manager?curriculum_activity_id=4164539\&path_id=2628397\&sid=10ff0331-164b-4cfe-9f96-888b928524e5\&sid_i=0)


---

# 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/rdm/da/ribbon-menu-bar/reports/export-reports.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.
