Get-IntuneManagementExtensionDiagnostics
1.1
This script analyzes Microsoft Intune Management Extension (IME) log(s) and creates timeline report from found actions.
Timeline report includes information about Intune Win32App, WinGetApp, Powershell scripts, Proactive Remedation scripts and custom Compliance Policy scripts events. Windows Autopilot ESP phases are also shown on timeline.
Script also includes reall
Timeline report includes information about Intune Win32App, WinGetApp, Powershell scripts, Proactive Remedation scripts and custom Compliance Policy scripts events. Windows Autopilot ESP phases are also shown on timeline.
Script also includes reall
This script analyzes Microsoft Intune Management Extension (IME) log(s) and creates timeline report from found actions.
Timeline report includes information about Intune Win32App, WinGetApp, Powershell scripts, Proactive Remedation scripts and custom Compliance Policy scripts events. Windows Autopilot ESP phases are also shown on timeline.
Script also includes really capable Log Viewer UI if scripts is started with parameter -ShowLogViewerUI
LogViewerUI (Out-GridView) looks a lot like cmtrace.exe tool but it is better because all found log actions are added to log for easier debugging.
LogViewerUI has good search and filtering capabilities. Try to filter known log entries in Timeline: Add criteria -> ProcessRunTime -> is not empty.
Selecting last line (RELOAD) and OK will reload log file.
Script can merge multiple log files so especially in LogViewerUI you can see Powershell command outputs from AgentExecutor.log
Powershell command outputs and errors can be also shown in Timeline view with parameters -ShowStdOutInTimeline and -ShowErrorsInTimeline
This shows instantly what is possible problem in Powershell scripts.
Possible Microsoft 365 App and MSI Line-of-Business Apps (maybe change to Win32App ;) installations are not seen by this report because they are not installed with Intune Management Agent.
Author:
Petri.Paavola@yodamiitti.fi
Senior Modern Management Principal
Microsoft MVP - Windows and Devices for IT
2023-03-12
https://github.com/petripaavola/Get-IntuneManagementExtensionDiagnostics
Show more
Timeline report includes information about Intune Win32App, WinGetApp, Powershell scripts, Proactive Remedation scripts and custom Compliance Policy scripts events. Windows Autopilot ESP phases are also shown on timeline.
Script also includes really capable Log Viewer UI if scripts is started with parameter -ShowLogViewerUI
LogViewerUI (Out-GridView) looks a lot like cmtrace.exe tool but it is better because all found log actions are added to log for easier debugging.
LogViewerUI has good search and filtering capabilities. Try to filter known log entries in Timeline: Add criteria -> ProcessRunTime -> is not empty.
Selecting last line (RELOAD) and OK will reload log file.
Script can merge multiple log files so especially in LogViewerUI you can see Powershell command outputs from AgentExecutor.log
Powershell command outputs and errors can be also shown in Timeline view with parameters -ShowStdOutInTimeline and -ShowErrorsInTimeline
This shows instantly what is possible problem in Powershell scripts.
Possible Microsoft 365 App and MSI Line-of-Business Apps (maybe change to Win32App ;) installations are not seen by this report because they are not installed with Intune Management Agent.
Author:
Petri.Paavola@yodamiitti.fi
Senior Modern Management Principal
Microsoft MVP - Windows and Devices for IT
2023-03-12
https://github.com/petripaavola/Get-IntuneManagementExtensionDiagnostics
Installation Options
Owners
Copyright
Petri.Paavola@yodamiitti.fi
Package Details
Author(s)
- Petri.Paavola@yodamiitti.fi
Tags
Functions
RecordStatusToTimeline Get-AppIntent Get-AppIntentNameForNumber Get-AppName
Dependencies
This script has no dependencies.
Release Notes
Version 1.0: Original published version
Version 1.1: Win32App and WinGetApp Required/Available and Install/Uninstall intent is detected right
Win32App Supersedence should be recognized (first uninstall and then install)
Win32App failed (un)install process is detected
Win32App Download Statistics table added
Added export to text files
FileList
- Get-IntuneManagementExtensionDiagnostics.nuspec
- Get-IntuneManagementExtensionDiagnostics.ps1