> 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-universal/fr/config/command-line-options.md).

# Options de ligne de commande

Lancez Universal.Server.exe avec des options de ligne de commande dans PowerShell Universal pour charger un fichier appsettings personnalisé ou démarrer le serveur en mode démo.

## --appsettings

```
Universal.Server.exe --appsettings <appsettings path>
```

Charge le fichier appsettings spécifié.

## --mode

```
Universal.Server.exe --mode demo
```

Démarre PowerShell Universal en mode démo.

{% hint style="danger" %}
Le mode démo accepte n'importe quel nom d'utilisateur et mot de passe. Il est destiné uniquement à l'évaluation locale et ne doit pas être exposé à des réseaux non fiables ni à Internet public. Par défaut, PowerShell Universal peut écouter sur toutes les interfaces réseau. Liez le serveur au bouclage local et utilisez un pare-feu d'hôte pour bloquer l'accès entrant au port de démo.
{% endhint %}

Par exemple, liez une instance de démo Windows au bouclage IPv4 uniquement :

```powershell
$env:ASPNETCORE_URLS = 'http://127.0.0.1:5000'
.\Universal.Server.exe --mode demo
```

Si une évaluation à distance est requise, utilisez une configuration d'authentification normale plutôt que le mode démo et restreignez l'accès avec TLS, un proxy inverse et des règles de pare-feu.


---

# 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-universal/fr/config/command-line-options.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.
