# Import-PackageUpdateInfo

LLMS index: [llms.txt](/llms.txt)

---

<!-- This file is auto-generated using PlatyPS + HUGO Workflow automation. Avoid editing directly! Original Front-Matter:
date: 2026-06-22
document type: cmdlet
external help file: PackageUpdateInfo-Help.xml
flagTranslation: Primary
HelpUri: https://packageupdateinfo.andibellstedt.com/docs/commands/import-packageupdateinfo/
Locale: en-US
Module Name: PackageUpdateInfo
ms.date: 06/22/2026
PlatyPS schema version: 2024-05-01
title: Import-PackageUpdateInfo
type: docs
-->

## SINOPSIS

Importa información de actualización de paquetes desde un archivo de datos exportado previamente.

## SINTAXIS

### __AllParameterSets

```
Import-PackageUpdateInfo [[-Path] <string>] [-ShowToastNotification] [-InputFormat <string>]
 [-Encoding <string>] [-WhatIf] [-Confirm] [<CommonParameters>]
```

## ALIAS

Este cmdlet tiene los siguientes alias,

## DESCRIPCIÓN

Importa información de actualización de paquetes desde un archivo de datos que fue exportado previamente por Export-PackageUpdateInfo.
El comando lee registros desde archivos XML, JSON o CSV y los convierte en objetos PackageUpdateInfo para su uso, visualización o procesamiento posterior.
Cuando se solicita, también puede mostrar notificaciones tipo toast de Windows para los módulos que requieren una actualización.

## EJEMPLOS

### EJEMPLO 1

```powershell
PS C:\> Import-PackageUpdateInfo
```

Importa el archivo de información de actualización de paquetes predeterminado para el entorno actual de PowerShell.

### EJEMPLO 2

```powershell
PS C:\> Import-PackageUpdateInfo -Path C:\temp\packageupdateinfo.xml
```

Importa información de actualización desde un archivo XML específico.

### EJEMPLO 3

```powershell
PS C:\> Import-PackageUpdateInfo -Path .\updates.json -InputFormat JSON
```

Importa información de actualización desde un archivo JSON que usa el formato de entrada especificado.

### EJEMPLO 4

```powershell
PS C:\> Import-PackageUpdateInfo -Path .\updates.csv -InputFormat CSV -ShowToastNotification
```

Importa información de actualización desde un archivo CSV y muestra notificaciones tipo toast para los módulos que necesitan actualizaciones.

## PARÁMETROS

### -Confirm

Si este interruptor está habilitado, se te pedirá confirmación antes de ejecutar cualquier operación que cambie el estado.

```yaml
Type: SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- cf
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -Encoding

Especifica la codificación del archivo que se usa al leer el archivo de entrada.

```yaml
Type: String
DefaultValue: default
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -InputFormat

Especifica el formato del archivo de datos importado.
Los valores compatibles son "XML", "JSON" y "CSV".

```yaml
Type: String
DefaultValue: XML
SupportsWildcards: false
Aliases:
- Format
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -Path

La ruta del archivo de datos a importar.
Especifica una ruta de archivo válida.
Si se omite, el comando usa el archivo de datos del módulo predeterminado para la edición y versión actual de PowerShell.

Las rutas predeterminadas son:
Linux:   "$HOME/.config/powershell/PackageUpdateInfo/PackageUpdateInfo_$($PSEdition)_$($PSVersionTable.PSVersion.Major).xml"
Windows: "$HOME\AppData\Local\Microsoft\Windows\PowerShell\PackageUpdateInfo_$($PSEdition)_$($PSVersionTable.PSVersion.Major).xml"

```yaml
Type: String
DefaultValue: ''
SupportsWildcards: false
Aliases:
- FullName
- FilePath
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: false
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -ShowToastNotification

Muestra notificaciones tipo toast de Windows con información de notas de la versión para los módulos que requieren una 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: ''
```

### -WhatIf

Si este interruptor está habilitado, no se realizan acciones, pero se mostrarán mensajes informativos que explican qué pasaría si se ejecutara el comando.

```yaml
Type: SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- wi
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### CommonParameters

Este cmdlet admite 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

## NOTAS

Versión  : 1.1.0.0  
Autor    : Andi Bellstedt  
Fecha    : 2026-06-21  
Palabras clave : PackageUpdateInfo, Update, Module, Info

## ENLACES RELACIONADOS

- [packageupdateinfo.andibellstedt.com/docs/commands/import-packageupdateinfo](https://packageupdateinfo.andibellstedt.com/docs/commands/import-packageupdateinfo/)
