คำสั่งสำหรับติดตั้ง IntuneDebugTools โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id MSEndpointMgr.IntuneDebugToolkit -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id MSEndpointMgr.IntuneDebugToolkit -e --silentwinget uninstall --id MSEndpointMgr.IntuneDebugToolkit -e --silentแยกตามตัวติดตั้ง
64 บิต · MSI · ผู้ใช้ทุกคน
ติดตั้งแบบเงียบ
msiexec /i IntuneDebugToolkit-3.0.0.msi /qn /norestartบันทึกไฟล์ log
msiexec /i IntuneDebugToolkit-3.0.0.msi /qn /norestart /l*v "%TEMP%\intunedebugtools-install.log"ถอนการติดตั้ง
msiexec /x {F42F3680-5BD0-40AB-8DD7-ED7C37AB5487} /qn /norestart- รหัสผลิตภัณฑ์ MSI
- {F42F3680-5BD0-40AB-8DD7-ED7C37AB5487}
- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F42F3680-5BD0-40AB-8DD7-ED7C37AB5487}
- UpgradeCode
- {58DD63BA-EEEF-4AE5-AF64-D0772D88203E}
- โฟลเดอร์ที่ติดตั้ง
- CommonAppDataFolder\MSEndpointMgr_IntuneDebugTools
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-intunedebugtools.ps1
$url = 'https://raw.githubusercontent.com/MSEndpointMgr/IntuneDebugToolkit/e1cdc69c3d4aa63f3f023352e7cbbb517d0657f3/IntuneDebugToolkit-3.0.0.msi'
$sha256 = '08B9078D0F097A71C22615BFBA4493A8E568ECEB71B97560F5E2314BA0355646'
$file = Join-Path $env:TEMP 'IntuneDebugToolkit-3.0.0.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait