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

# Install-PSUServer

## SINOSSI

Scarica e installa i file binari del server PowerShell Universal.

## SINTASSI

### Version (predefinito)

```
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>]
```

## DESCRIZIONE

Scarica e installa i file binari del server PowerShell Universal. Questo cmdlet scaricherà i file binari corretti per la piattaforma su cui viene eseguito. Può anche aggiungere i file binari alla variabile PATH del computer.

## ESEMPI

### Esempio 1

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

Installa la versione di PowerShell Universal in base al modulo installato. Se la versione del modulo è 1.5.0, viene scaricata e installata la versione 1.5.0. L'installazione avviene nel percorso predefinito $Env:ProgramData\PowerShellUniversal.

### Esempio 2

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

Installa la versione più recente di PowerShell Universal nel percorso predefinito e imposta il percorso nella variabile PATH.

### Esempio 3

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

Installa la versione corrente nella cartella .\PSU.

## PARAMETRI

### -Path

Il percorso in cui devono essere archiviati i file binari di PowerShell Universal. Il valore predefinito è $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 versione da scaricare. Il valore predefinito è la versione del modulo PowerShell Universal in uso.

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

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

### -LatestVersion

Scarica e installa la versione più recente di 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

Specifica il nome del sito web IIS da creare per il server installato. Questa opzione è supportata solo su Windows e fa sì che il cmdlet crei e avvii un sito web che punta ai file installati.

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

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

### -IISAppPool

Specifica il nome del pool di applicazioni IIS da creare e assegnare al sito web. Il valore predefinito è `PowerShellUniversal`.

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

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

### -IISPort

Specifica la porta di binding IIS utilizzata durante la creazione del sito web.

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

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

### CommonParameters

Questo cmdlet supporta i parametri comuni: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable e -ProgressAction. Per ulteriori informazioni, consulti [about\_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

## INPUT

### Nessuno

## OUTPUT

### System.Object

## NOTE

## COLLEGAMENTI CORRELATI

[Start-PSUServer](/powershell-universal/it/comandi-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/it/comandi-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.
