> 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/es/comandos-de-powershell/install-psuserver.md).

# Install-PSUServer

## SINOPSIS

Descarga e instala los binarios del servidor de PowerShell Universal.

## SINTAXIS

### Version (predeterminado)

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

## DESCRIPCIÓN

Descarga e instala los binarios del servidor de PowerShell Universal. Este cmdlet descargará los binarios adecuados para la plataforma en la que se ejecuta. También puede añadir los binarios a la variable PATH de la máquina.

## EJEMPLOS

### Ejemplo 1

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

Instala la versión de PowerShell Universal según el módulo instalado. Si la versión del módulo es 1.5.0, se descarga e instala la versión 1.5.0. Se instala en la ubicación predeterminada $Env:ProgramData\PowerShellUniversal.

### Ejemplo 2

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

Instala la última versión de PowerShell Universal en la ubicación predeterminada y establece la ruta en la variable PATH.

### Ejemplo 3

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

Instala la versión actual en la carpeta .\PSU.

## PARÁMETROS

### -Path

La ruta donde se deben almacenar los binarios de PowerShell Universal. El valor predeterminado es $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 versión que se va a descargar. El valor predeterminado es la versión del módulo de PowerShell Universal que esté utilizando.

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

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

### -LatestVersion

Descarga e instala la última versión 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

Especifica el nombre del sitio web de IIS que se creará para el servidor instalado. Esta opción solo se admite en Windows y hace que el cmdlet cree e inicie un sitio web que apunte a los ficheros instalados.

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

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

### -IISAppPool

Especifica el nombre del grupo de aplicaciones de IIS que se creará y se asignará al sitio web. El valor predeterminado es `PowerShellUniversal`.

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

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

### -IISPort

Especifica el puerto de enlace de IIS que se utiliza al crear el sitio web.

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

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

### CommonParameters

Este cmdlet admite los parámetros comunes: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -Verbose, -WarningAction, -WarningVariable y -ProgressAction. Para obtener más información, consulte [about\_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).

## ENTRADAS

### Ninguna

## SALIDAS

### System.Object

## NOTAS

## ENLACES RELACIONADOS

[Start-PSUServer](/powershell-universal/es/comandos-de-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/es/comandos-de-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.
