# Get-PackageUpdateInfo

LLMS index: [llms.txt](/v1.2.1.0/llms.txt)

---

<!-- This file is auto-generated using PlatyPS + HUGO Workflow automation. Avoid editing directly! Original Front-Matter:
date: 2026-06-07
document type: cmdlet
external help file: PackageUpdateInfo-Help.xml
flagTranslation: Primary
HelpUri: ""
Locale: en-US
Module Name: PackageUpdateInfo
ms.date: 06/07/2026
PlatyPS schema version: 2024-05-01
title: Get-PackageUpdateInfo
type: docs
-->



## SINOPSIS

Obtén información sobre la actualización de los módulos instalados

## SINTAXIS

### DefaultSet1 (Predeterminado)

```
Get-PackageUpdateInfo [-Name <string[]>] [-Repository <string[]>] [-ShowOnlyNeededUpdate]
 [-ShowToastNotification] [-Force] [<CommonParameters>]
```

### CurrentUser

```
Get-PackageUpdateInfo [-Name <string[]>] [-Repository <string[]>] [-ShowOnlyNeededUpdate]
 [-ShowToastNotification] [-CurrentUser] [-Force] [<CommonParameters>]
```

### AllUsers

```
Get-PackageUpdateInfo [-Name <string[]>] [-Repository <string[]>] [-ShowOnlyNeededUpdate]
 [-ShowToastNotification] [-AllUsers] [-Force] [<CommonParameters>]
```

## ALIAS

Este cmdlet tiene los siguientes alias,

## DESCRIPCIÓN

Get-PackageUpdateInfo consulta los módulos instalados localmente y los compara con las versiones en línea para verificar si están actualizados.

## EJEMPLOS

### EJEMPLO 1

```powershell
PS C:\> Get-PackageUpdateInfo
```

Muestra información de actualización para todos los módulos (currentUser y AllUsers).
La salida puede verse así:

Nombre       Repositorio VersiónInstalada VersiónEnLínea NecesitaActualizar Ruta
----       ---------- ------------------ -------------- -------------- ----
PSReadline PSGallery  1.2                1.2            Falso          C:\Program Files\WindowsPowerShell\Modules\PSReadline
Pester     PSGallery  4.4.0              4.4.2          Verdadero     C:\Program Files\WindowsPowerShell\Modules\Pester

### EJEMPLO 2

```powershell
PS C:\> Get-PackageUpdateInfo -ShowOnlyNeededUpdate
```

Esto filtrará la salida para mostrar solo los módulos donde NeedUpdate es Verdadero.
La salida puede verse así:

Nombre       Repositorio VersiónInstalada VersiónEnLínea NecesitaActualizar Ruta
----       ---------- ------------------ -------------- -------------- ----
Pester     PSGallery  4.4.0              4.4.2          Verdadero     C:\Program Files\WindowsPowerShell\Modules\Pester

### EJEMPLO 3

```powershell
PS C:\> "Pester", "PSReadline" | Get-PackageUpdateInfo
```

Se soporta la canalización. Esto devuelve la información solo para los dos módulos "Pester" y "PSReadline".

También se puede hacer con el cmdlet Get-Module:
Get-Module "Pester", "PSReadline" | Get-PackageUpdateInfo

## PARÁMETROS

### -AllUsers

Busca solo en los directorios AllUsers/sistema.
Ten en cuenta que se requieren derechos de administrador para actualizar esos módulos.

```yaml
Type: SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: AllUsers
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -CurrentUser

Busca solo en el perfil del usuario actual.
Esto es útil si estás ejecutando sin derechos de administrador, lo cual siempre deberías hacer como tu preferencia predeterminada.

```yaml
Type: SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: CurrentUser
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -Force

Forzar la consulta de información sobre la actualización de los módulos instalados, incluso si el intervalo de verificación de actualización
desde la última comprobación no ha expirado.

```yaml
Type: SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -Name

El nombre del módulo a verificar

```yaml
Type: String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -Repository

El repositorio a verificar

```yaml
Type: String[]
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -ShowOnlyNeededUpdate

Este interruptor suprime los módulos actualizados del resultado.

```yaml
Type: SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -ShowToastNotification

Este interruptor invoca notificaciones de Windows Toast con información de notas de lanzamiento sobre módulos que necesitan actualización.

```yaml
Type: SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases:
- ToastNotification
- Notify
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### ParámetrosComunes

Este cmdlet soporta los parámetros comunes: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction, y -WarningVariable. Para más información, consulta
[about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).

## ENTRADAS

### System.String[]

## SALIDAS

### PackageUpdate.Info
