Version 1.2.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.2.1.0/de/docs/commands/import-packageupdateinfo/index.md.

ZUSAMMENFASSUNG

Importiere PackageUpdateInfo aus einer Daten-Datei

SYNTAX

__AllParameterSets

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

ALIASSE

Dieses Cmdlet hat die folgenden Aliasse,

BESCHREIBUNG

Importiere PackageUpdateInfo aus einer zuvor mit der Funktion Export-PackageUpdateInfo exportierten Daten-Datei.

BEISPIELE

BEISPIEL 1

PS C:\> Import-PackageUpdateInfo

Versuche, die Standarddatei “$HOME\AppData\Local\Microsoft\Windows\PowerShell\PackageUpdateInfo.xml” zu importieren.

PARAMETER

-Confirm

Wenn dieser Schalter aktiviert ist, wirst du vor der Ausführung von Operationen, die den Status ändern, um Bestätigung gefragt.

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

Datei-Codierung für die Datei

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

Das Ausgabeformat für die Daten
Verfügbare Formate sind “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

Der Pfad zur Datei, aus der die Informationen importiert werden sollen.
Bitte gib eine Datei als Pfad an.

Standardpfad-Wert ist:
Linux: “$HOME/.local/share/powershell/PackageUpdateInfo/PackageUpdateInfo.xml”
Windows: “$HOME\AppData\Local\Microsoft\Windows\PowerShell\PackageUpdateInfo.xml”

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

Dieser Schalter ruft schöne Windows-Toast-Benachrichtigungen mit Versionshinweisen zu Modulen auf, bei denen ein Update erforderlich ist.

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

Wenn dieser Schalter aktiviert ist, werden keine Aktionen ausgeführt, aber es werden Informationsnachrichten angezeigt, die erklären, was passieren würde, wenn der Befehl ausgeführt wird.

Type: SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- wi
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

GemeinsameParameter

Dieses Cmdlet unterstützt die gemeinsamen Parameter: -Debug, -ErrorAction, -ErrorVariable,
-InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable,
-ProgressAction, -Verbose, -WarningAction und -WarningVariable. Für weitere Informationen siehe
about_CommonParameters.

EINGABEDATEN

System.String

AUSGABEN

PackageUpdate.Info