Version 1.1.1.0 of the documentation is no longer actively maintained. The site that you are currently viewing is an archived snapshot.
Import-PackageUpdateInfo
For AI agents: a documentation index is available at /llms.txt; a markdown version of this page is available at /v1.1.1.0/es/docs/commands/import-packageupdateinfo/index.md.
SINOPSIS
Importa PackageUpdateInfo desde un archivo de datos
SINTAXIS
__AllParameterSets
Import-PackageUpdateInfo [[-Path] <string>] [-ShowToastNotification] [-InputFormat <string>]
[-Encoding <string>] [-WhatIf] [-Confirm] [<CommonParameters>]
ALIAS
Este cmdlet tiene los siguientes alias,
DESCRIPCIÓN
Importa PackageUpdateInfo desde un archivo de datos exportado previamente con la función Export-PackageUpdateInfo.
EJEMPLOS
EJEMPLO 1
PS C:\> Import-PackageUpdateInfo
Intenta importar el archivo predeterminado “$HOME\AppData\Local\Microsoft\Windows\PowerShell\PackageUpdateInfo.xml”
PARÁMETROS
-Confirm
Si habilitas este interruptor, se te solicitará confirmación antes de ejecutar cualquier operación que cambie el estado.
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
Codificación del archivo
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
El formato de salida para los datos Los formatos disponibles son “XML”, “JSON”, “CSV”
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 donde importar la información. Por favor, especifica un archivo como ruta.
Type: String
DefaultValue: (Join-Path $HOME "AppData\Local\Microsoft\Windows\PowerShell\PackageUpdateInfo.xml")
SupportsWildcards: false
Aliases:
- FullName
- FilePath
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: true
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-ShowToastNotification
Este interruptor invoca notificaciones de Windows-Toast agradables con información de notas de lanzamiento en módulos que necesitan actualización.
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 habilitas este interruptor, no se realizarán acciones, pero se mostrarán mensajes informativos que explican qué sucedería si el comando se ejecutara.
Type: SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- wi
ParameterSets:
- Name: (All)
Position: Named
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
Parámetros comunes
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.