Version 1.0.2.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.0.2.0/fr/docs/commands/import-packageupdateinfo/index.md.

SYNTHÈSE

Importer PackageUpdateInfo à partir d’un fichier de données

SYNTAXE

__AllParameterSets

Import-PackageUpdateInfo [[-Path] <string>] [-InputFormat <string>] [-Encoding <string>] [-WhatIf]
 [-Confirm] [<CommonParameters>]

ALIAS

Ce cmdlet possède les alias suivants,

DESCRIPTION

Importer PackageUpdateInfo à partir d’un fichier de données précédemment exporté avec la fonction Export-PackageUpdateInfo.

EXEMPLES

EXEMPLE 1

PS C:\> Import-PackageUpdateInfo

Essayez d’importer le fichier par défaut “$HOME\AppData\Local\Microsoft\Windows\PowerShell\PackageUpdateInfo.xml”

PARAMÈTRES

-Confirm

Si cette option est activée, vous serez invité à confirmer avant d’exécuter toute opération modifiant l’état.

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

Encodage du fichier

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

Le format de sortie pour les données Les formats disponibles sont “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

Le chemin du fichier où importer les informations. Veuillez spécifier un fichier comme chemin.

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: ''

-WhatIf

Si cette option est activée, aucune action ne sera effectuée, mais des messages d’information seront affichés pour expliquer ce qui se passerait si la commande était exécutée.

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

Ce cmdlet supporte les paramètres communs : -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, et -WarningVariable. Pour plus d’informations, voir about_CommonParameters.

ENTRÉES

System.String

SORTIES

PackageUpdate.Info