IntuneDebugToolsを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリと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ログを出力
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