> 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/install-psuserver.md).

# Install-PSUServer

Install-PSUServer télécharge et installe les binaires du serveur PowerShell Universal correspondant au module installé pour la plateforme actuelle.

## SYNOPSIS

Télécharge et installe les binaires du serveur PowerShell Universal.

## SYNTAXE

### Version (par défaut)

```
Install-PSUServer [-Path <String>] [-Version <String>] [-IISWebsite <String>] [-IISAppPool <String>]
 [-IISPort <Int32>] [<CommonParameters>]
```

### Latest

```
Install-PSUServer [-Path <String>] [-LatestVersion] [-IISWebsite <String>] [-IISAppPool <String>]
 [-IISPort <Int32>] [<CommonParameters>]
```

## DESCRIPTION

Télécharge et installe les binaires du serveur PowerShell Universal. Cette applet de commande téléchargera les binaires appropriés pour la plateforme sur laquelle elle est exécutée. Elle peut aussi ajouter les binaires à la variable PATH de la machine.

## EXEMPLES

### Exemple 1

```
PS C:\> Install-PSUServer
```

Installe la version de PowerShell Universal selon le module installé. Si la version du module est 1.5.0, alors la version 1.5.0 est téléchargée et installée. L'installation se fait à l'emplacement par défaut $Env:ProgramData\PowerShellUniversal.

### Exemple 2

```
PS C:\> Install-PSUServer -AddToPath -LatestVersion
```

Installe la dernière version de PowerShell Universal à l'emplacement par défaut et définit le chemin dans la variable PATH.

### Exemple 3

```
PS C:\> Install-PSUServer -Path .\PSU
```

Installe la version actuelle dans le dossier .\PSU.

## PARAMÈTRES

### -Path

Le chemin où les binaires de PowerShell Universal doivent être stockés. La valeur par défaut est $Env:ProgramData\PowerShellUniversal

```yaml
Type: String
Parameter Sets: (All)
Aliases:

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

### -Version

La version à télécharger. La valeur par défaut est la version du module PowerShell Universal que vous utilisez.

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

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

### -LatestVersion

Télécharge et installe la dernière version de PowerShell Universal.

```yaml
Type: SwitchParameter
Parameter Sets: Latest
Aliases:

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

### -IISWebsite

Spécifie le nom du site Web IIS à créer pour le serveur installé. Cette option est prise en charge uniquement sur Windows et fait en sorte que l'applet de commande crée et démarre un site Web qui pointe vers les fichiers installés.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

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

### -IISAppPool

Spécifie le nom du pool d'applications IIS à créer et à assigner au site Web. La valeur par défaut est `PowerShellUniversal`.

```yaml
Type: String
Parameter Sets: (All)
Aliases:

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

### -IISPort

Spécifie le port de liaison IIS utilisé lors de la création du site Web.

```yaml
Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: 0
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'information, voir [about\_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

## ENTRÉES

### Aucune

## SORTIES

### System.Object

## NOTES

## LIENS CONNEXES

[Start-PSUServer](/powershell-universal/fr/commandes-powershell/start-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/install-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.
