Forum Discussion
Install pending app not installing
Hi, I am trying to install a Win32 app SQL Management Studio (SSMS). The app installed on 2 computers but 5 others are "Install Pending". Anyone had this before? How can I remotely access the log file on the c: drive?
Thanks
- micheleariisSteel Contributor
zippy5151 Hi, you can use Intune collect diagnostics.
https://learn.microsoft.com/en-us/mem/intune/remote-actions/collect-diagnostics
- zippy5151Copper ContributorHi, thanks f
but I still get install pending message. The log file is not clear for the fault?
Thanks- micheleariisSteel Contributor
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