Kommandoer til at installere Hyper-V-Switch uden spørgsmål, fjerne programmet igen og finde det fra udrulningsværktøjer. En kommando vises kun, når den er sikker: fra manifestet eller som installationsteknologiens dokumenterede standard.
Relateret vejledning: Parametre til lydløs installation: MSI, NSIS, Inno · Afinstaller et program via registreringsdatabasen
Med 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 --silentPr. installationsfil
64-bit · EXE (Inno Setup) · Alle brugere · 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"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BE23E350-34D9-40C9-9A9B-FCC54960D560}_is1
- Installationsmappe
- %ProgramFiles%\Hyper-V-Switch
64-bit · ZIP
Kræver ingen installation (portabel)
32-bit · EXE (Inno Setup) · Alle brugere · 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"- Afinstallationsnøgle i registreringsdatabasen
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{17EF706E-9AF0-47E2-93FE-2A31C106FAA2}_is1
- Installationsmappe
- %ProgramFiles(x86)%\Hyper-V-Switch
32-bit · ZIP
Kræver ingen installation (portabel)
PowerShell: download, kontrollér, installér
Downloader den officielle fil, kontrollerer dens SHA256 og installerer lydløst.
$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