Install App From Repository
Zuletzt geändert: 14.03.2026 05:56

Install-AppFromRepository #

ÜBERSICHT #

Installiert den Inhalt einer ZIP Datei in einen Zielordner.

SYNTAX #

Install-AppFromRepository [-Source] <string> [-Destination] <string> [-Force] [-PassThru]

BESCHREIBUNG #

Quelle kann eine http/https URL oder ein lokaler Dateipfad sein. Bei -Force wird ein vorhandener Zielordner vollständig entfernt und neu befuellt. Funktion unterstützt WhatIf/Confirm und setzt für Downloads TLS 1.2.

PARAMETER #

-Source #

Type: string

URL (http/https) oder lokaler Pfad zu einer ZIP Datei.

-Destination #

Type: string

Zielordner, in den entpackt werden soll. Wird bei Bedarf angelegt.

-Force #

Type: switch

Erlaubt das Ersetzen eines vorhandenen Zielordners durch Entfernen und Neuinstallation.

-PassThru #

Type: switch

Gibt den Zielordner als DirectoryInfo zurück.

BEISPIELE #

# Installiert EulandaXtools 1.0.3 aus URL in den Benutzer Modulpfad
Install-AppFromRepository -Source 'https://files.eulanda.eu/apps/eulandaxtools/1.0.3/EulandaXtools.zip' `
  -Destination 'C:\Users\cn\Documents\WindowsPowerShell\Modules\EulandaXTools\1.0.3' -Force -Verbose
# Installiert aus lokaler ZIP in einen neuen Zielordner
Install-AppFromRepository -Source 'C:\Temp\EulandaXTools.zip' `
  -Destination 'C:\Users\cn\Documents\WindowsPowerShell\Modules\EulandaXTools\1.0.3' -Verbose