Ordres per instal·lar IntuneDebugTools sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 --silentPer instal·lador
64 bits · MSI · Tots els usuaris
Instal·lació silenciosa
msiexec /i IntuneDebugToolkit-3.0.0.msi /qn /norestartDesar un registre
msiexec /i IntuneDebugToolkit-3.0.0.msi /qn /norestart /l*v "%TEMP%\intunedebugtools-install.log"Desinstal·lar
msiexec /x {F42F3680-5BD0-40AB-8DD7-ED7C37AB5487} /qn /norestart- Codi de producte MSI
- {F42F3680-5BD0-40AB-8DD7-ED7C37AB5487}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F42F3680-5BD0-40AB-8DD7-ED7C37AB5487}
- UpgradeCode
- {58DD63BA-EEEF-4AE5-AF64-D0772D88203E}
- Carpeta d’instal·lació
- CommonAppDataFolder\MSEndpointMgr_IntuneDebugTools
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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