Befehle, um Hyper-V-Switch 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
winget install --id RaynerSec.Hyper-V-Switch -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RaynerSec.Hyper-V-Switch -e --silentwinget uninstall --id RaynerSec.Hyper-V-Switch -e --silentNach Installer
64-Bit · EXE (Inno Setup) · Alle Benutzer · en-US
Hyper-V-Switch-1.0.1.0-x64-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Hyper-V-Switch-1.0.1.0-x64-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\hyper-v-switch"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BE23E350-34D9-40C9-9A9B-FCC54960D560}_is1
- Installationsordner
- %ProgramFiles%\Hyper-V-Switch
64-Bit · ZIP
Keine Installation nötig (portabel)
32-Bit · EXE (Inno Setup) · Alle Benutzer · en-US
Hyper-V-Switch-1.0.1.0-x86-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Hyper-V-Switch-1.0.1.0-x86-Setup.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\hyper-v-switch"- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{17EF706E-9AF0-47E2-93FE-2A31C106FAA2}_is1
- Installationsordner
- %ProgramFiles(x86)%\Hyper-V-Switch
32-Bit · ZIP
Keine Installation nötig (portabel)
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
$url = 'https://github.com/RaynerSec/Hyper-V-Switch/releases/download/v1.0.1.0/Hyper-V-Switch-1.0.1.0-x64-Setup.exe'
$sha256 = 'DB2404AA6E7175AC90FCABE378608F7B26A2EAA7BEC4D47D010F9585F55EA331'
$file = Join-Path $env:TEMP 'Hyper-V-Switch-1.0.1.0-x64-Setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait $url = 'https://github.com/RaynerSec/Hyper-V-Switch/releases/download/v1.0.1.0/Hyper-V-Switch-1.0.1.0-x86-Setup.exe'
$sha256 = 'FBE594A49A5F7DB2D877BB83C9852E5465AE9DE6BACE5F925182F996BF0CE9BA'
$file = Join-Path $env:TEMP 'Hyper-V-Switch-1.0.1.0-x86-Setup.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait