> 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/commandes-powershell/start-psuserver.md).

# Start-PSUServer

Start-PSUServer détecte, configure et lance l'exécutable du serveur PowerShell Universal en tant que nouveau processus en arrière-plan.

## SYNOPSIS

Démarre le serveur PowerShell Universal.

## SYNTAXE

### Service (par défaut)

```
Start-PSUServer [<CommonParameters>]
```

### Path

```
Start-PSUServer [[-ExecutablePath] <String>] [[-ListenAddress] <String>] [-Port <Int32>]
 [-Configuration <ScriptBlock>] [<CommonParameters>]
```

## DESCRIPTION

Démarre le serveur PowerShell Universal. Cette applet de commande effectue la détection et la configuration de l'exécutable Universal.Server. Elle utilise Start-Process pour démarrer le serveur une fois la configuration terminée. Cette applet de commande exige qu'elle puisse trouver l'exécutable Universal.Server. Vous pouvez utiliser Install-PSUServer pour télécharger les binaires appropriés à votre système.

## EXEMPLES

### Exemple 1

```
PS C:\> Start-PSUServer -Port 8080
```

Démarre un serveur PowerShell Universal sur le port 8080

### Exemple 2

```
PS C:\> Start-PSUServer -Port 8080 -Configuration {
    New-PSUEndpoint -Url '/test' -Method 'GET' -Endpoint {
        "Hi"
    }
}
```

Démarre un serveur PowerShell Universal sur le port 8080 et utilise la configuration en fichier unique pour configurer un nouveau terminal écoutant sur « /test »

### Exemple 3

```
PS C:\> $Env:Data__RepositoryPath = "C:\repo" 
PS C:\> Start-PSUServer -Port 8080
```

Définit un chemin de dépôt alternatif et démarre le serveur PowerShell Universal.

## PARAMÈTRES

### -ExecutablePath

Le chemin vers l'exécutable Universal.Server. La valeur par défaut est $Env:ProgramData\Universal.Server. S'il n'est pas trouvé à cet emplacement, Start-PSUServer effectuera également une recherche dans $ENV:PATH

```yaml
Type: String
Parameter Sets: Path
Aliases:

Required: False
Position: 0
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -ListenAddress

L'adresse sur laquelle écouter. Par exemple : http\://\*:4000

```yaml
Type: String
Parameter Sets: Path
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Configuration

Un bloc de script de configuration. Cela active la configuration en fichier unique.

```yaml
Type: ScriptBlock
Parameter Sets: Path
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### -Port

Un port sur lequel écouter.

```yaml
Type: Int32
Parameter Sets: Path
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
```

### CommonParameters

Cette applet de commande prend en charge les paramètres communs : -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable et -ProgressAction. Pour plus d'informations, consultez [about\_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

## ENTRÉES

### Aucune

## SORTIES

### System.Object

## NOTES

## LIENS CONNEXES

[Install-PSUServer](/powershell-universal/fr/commandes-powershell/install-psuserver.md)


---

# 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/commandes-powershell/start-psuserver.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.
