Setup for PowerShell 7
github.com/Tensionix/setup-for-powershell-7 ↗PowerShell schnell installieren oder ältere Versionen aktualisieren — und sich das Einschalten jener Einstellungen sparen, mit denen er über die rechte Maustaste startet. Das PowerShell-7-Paket kann mehr, als eine Standardinstallation aktiviert: die Einträge «Hier öffnen» und «Mit PowerShell ausführen», den PATH-Eintrag, das Ereignisprotokoll, Updates über Microsoft Update, Telemetrie aus, Remoteverbindungen. Diese Eigenschaftsnamen sind nicht erfunden — sie stammen aus dem Paket selbst. Das Set installiert eine frische Version mit all dem und überträgt die Terminaleinstellungen. Für alle, die PowerShell nicht zum ersten Mal einrichten und es satt haben, jedes Mal von Hand nachzuarbeiten.
2 Downloads über GitHubAudion Setup for PowerShell 7
A portable kit: installs the PowerShell 7 shell and configures it the way it should be — in one command.
Why It Exists
A package manager installs the program but does not configure it. The installer offers options nobody remembers six months later. And the post-install settings get reassembled on every machine.
The kit takes all of that on: it downloads the current package with all the options the package manager omits, and carries the terminal settings across.
The folder can be carried to another machine whole — nothing else is needed.
The Principle
A check before installing. A separate command shows what is already present and what will be done, changing nothing.
Next
- Run the batch file in the root. Elevation is requested only when it is needed.
Das Programm ist portabel: der entpackte Ordner ist das installierte Programm. In die Registry wird nichts geschrieben; zum Entfernen den Ordner löschen.
$name = "Audion_Setup_for_PowerShell_7_v1.0.1_Full.zip"
Invoke-WebRequest "https://audion.dev/get/setup-for-powershell-7/1.0.1/Audion_Setup_for_PowerShell_7_v1.0.1_Full.zip" -OutFile $name
Invoke-WebRequest "https://audion.dev/get/setup-for-powershell-7/1.0.1/Audion_Setup_for_PowerShell_7_v1.0.1_Full.zip.sha256" -OutFile "$name.sha256"
$want = (Get-Content "$name.sha256").Split(" ")[0]
$have = (Get-FileHash $name -Algorithm SHA256).Hash.ToLower()
if ($want -ne $have) { throw "Prüfsumme stimmt nicht: der Download ist beschädigt" }
Expand-Archive $name -DestinationPath ".\setup-for-powershell-7"