Befehle, um GitHub extension for Command Palette ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id Microsoft.CmdPalGitHubExtension -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.CmdPalGitHubExtension -e --silentwinget uninstall --id Microsoft.CmdPalGitHubExtension -e --silentNach Installer
64-Bit · MSIX
Stille Installation
Add-AppxPackage -Path GitHubExtension_release_v0.103.178.0_x64.msixDeinstallation
Get-AppxPackage -Name Microsoft.CmdPalGitHubExtension | Remove-AppxPackageARM64 · MSIX
Stille Installation
Add-AppxPackage -Path GitHubExtension_release_v0.103.178.0_arm64.msixDeinstallation
Get-AppxPackage -Name Microsoft.CmdPalGitHubExtension | Remove-AppxPackagePowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-github-extension-for-command-palette.ps1
$url = 'https://github.com/microsoft/CmdPalGitHubExtension/releases/download/v0.103.178.0/GitHubExtension_release_v0.103.178.0_x64.msix'
$sha256 = '7B6D126A87DEA4D40CDC8CE5F69F18E2498A998BDCC1AF7962987FEC8F5323FD'
$file = Join-Path $env:TEMP 'GitHubExtension_release_v0.103.178.0_x64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-github-extension-for-command-palette.ps1
$url = 'https://github.com/microsoft/CmdPalGitHubExtension/releases/download/v0.103.178.0/GitHubExtension_release_v0.103.178.0_arm64.msix'
$sha256 = 'C4953E1F120B072A85EF5A0E2F6B52D104B330CD15F3A9EB337C9CE8CF9B264F'
$file = Join-Path $env:TEMP 'GitHubExtension_release_v0.103.178.0_arm64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file