Hyper-V-Switch ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
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 --silentInstaller အလိုက်
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 registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{BE23E350-34D9-40C9-9A9B-FCC54960D560}_is1
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles%\Hyper-V-Switch
64-bit · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
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 registry key
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{17EF706E-9AF0-47E2-93FE-2A31C106FAA2}_is1
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles(x86)%\Hyper-V-Switch
32-bit · ZIP
ထည့်သွင်းရန် မလိုပါ (portable)
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
$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