Commands for installing Hyper-V-Switch without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With 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 --silentBy installer
64-bit · EXE (Inno Setup) · All users · 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"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BE23E350-34D9-40C9-9A9B-FCC54960D560}_is1
- Install folder
- %ProgramFiles%\Hyper-V-Switch
64-bit · ZIP
No installation needed (portable)
32-bit · EXE (Inno Setup) · All users · 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"- Uninstall registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{17EF706E-9AF0-47E2-93FE-2A31C106FAA2}_is1
- Install folder
- %ProgramFiles(x86)%\Hyper-V-Switch
32-bit · ZIP
No installation needed (portable)
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
$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