Forum Discussion
Install pending app not installing
zippy5151 Hi, you can use Intune collect diagnostics.
https://learn.microsoft.com/en-us/mem/intune/remote-actions/collect-diagnostics
but I still get install pending message. The log file is not clear for the fault?
Thanks
- micheleariisOct 24, 2024MCT
zippy5151 Hi, as an alternative have you already thought of using WinGet?
Below is a script that you could distribute via Intune# Check if Winget is installed
if (-Not (Get-Command winget.exe -ErrorAction SilentlyContinue)) {
Write-Host "Winget is not installed. Installing..."
# Download the App Installer that includes Winget
Invoke-WebRequest -Uri "https://aka.ms/getwinget" -OutFile "$env:TEMP\Microsoft.DesktopAppInstaller.msixbundle"
# Install the App Installer
Add-AppxPackage -Path "$env:TEMP\Microsoft.DesktopAppInstaller.msixbundle"
}# Install SQL Server Management Studio using Winget
winget install --id Microsoft.SQLServerManagementStudio -e --accept-package-agreements --accept-source-agreements --silent