د Hyper-V-Switch بې پوښتنې نصبولو، بیا لرې کولو او د ځای پر ځای کولو وسایلو له لارې د پېژندلو کمانډونه. کمانډ یوازې هغه وخت ښودل کېږي چې ډاډمن وي: له مانیفسټ څخه یا د نصبوونکي ټکنالوژۍ له لیکل شوي اصلي حالت څخه.
اړوند لارښود: د چوپه نصب سویچونه: MSI، NSIS، Inno Setup · پروګرام د ریجسټري یا PowerShell په مرسته لرې کړئ
د winget سره
PowerShell
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 --silentد نصبوونکي له مخې
64-bit · EXE (Inno Setup) · ټول کارنان · 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 ریجسټري کیلي
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BE23E350-34D9-40C9-9A9B-FCC54960D560}_is1
- د نصب فولډر
- %ProgramFiles%\Hyper-V-Switch
64-bit · ZIP
نصب ته اړتیا نشته (پورټېبل)
32-bit · EXE (Inno Setup) · ټول کارنان · 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 ریجسټري کیلي
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{17EF706E-9AF0-47E2-93FE-2A31C106FAA2}_is1
- د نصب فولډر
- %ProgramFiles(x86)%\Hyper-V-Switch
32-bit · ZIP
نصب ته اړتیا نشته (پورټېبل)
PowerShell: ډاونلوډ، تایید، نصب
رسمي فایل ډاونلوډوي، SHA256 یې ګوري او په چوپه توګه یې نصبوي.
install-hyper-v-switch.ps1
$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 install-hyper-v-switch.ps1
$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