פקודות להתקנה של WinDbg בלי חלונות ושאלות, להסרה ולזיהוי בכלי הפצה. פקודה מוצגת רק כשהיא ודאית: מתוך המניפסט או מברירת המחדל המתועדת של טכנולוגיית ההתקנה.
מדריך קשור: פרמטרים להתקנה שקטה: MSI, NSIS, Inno Setup · הסרת תוכנה דרך הרישום או PowerShell
באמצעות winget
PowerShell
winget install --id Microsoft.WinDbg -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.WinDbg -e --silentwinget uninstall --id Microsoft.WinDbg -e --silentלפי קובץ התקנה
64 ביט · MSIX
התקנה שקטה
Add-AppxPackage -Path windbg.msixbundleהסרת התקנה
Get-AppxPackage -Name Microsoft.WinDbg | Remove-AppxPackageARM64 · MSIX
התקנה שקטה
Add-AppxPackage -Path windbg.msixbundleהסרת התקנה
Get-AppxPackage -Name Microsoft.WinDbg | Remove-AppxPackage32 ביט · MSIX
התקנה שקטה
Add-AppxPackage -Path windbg.msixbundleהסרת התקנה
Get-AppxPackage -Name Microsoft.WinDbg | Remove-AppxPackagePowerShell: הורדה, אימות והתקנה
הסקריפט מוריד את הקובץ הרשמי, בודק את ערך ה־SHA256 ומתקין אותו בהתקנה שקטה.
install-windbg.ps1
$url = 'https://windbg.download.prss.microsoft.com/dbazure/prod/1-2611-4001-0/windbg.msixbundle'
$sha256 = '158F6365F365A939429977F7BC4CA3D15F8C2A39BC3ACD2B297FC36A31D69274'
$file = Join-Path $env:TEMP 'windbg.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-windbg.ps1
$url = 'https://windbg.download.prss.microsoft.com/dbazure/prod/1-2611-4001-0/windbg.msixbundle'
$sha256 = '158F6365F365A939429977F7BC4CA3D15F8C2A39BC3ACD2B297FC36A31D69274'
$file = Join-Path $env:TEMP 'windbg.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-windbg.ps1
$url = 'https://windbg.download.prss.microsoft.com/dbazure/prod/1-2611-4001-0/windbg.msixbundle'
$sha256 = '158F6365F365A939429977F7BC4CA3D15F8C2A39BC3ACD2B297FC36A31D69274'
$file = Join-Path $env:TEMP 'windbg.msixbundle'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file