Get-IntuneManagementExtensionDiagnostics

1.0

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
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 -> ProcessruntTime -> 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 problem in Powershell scripts   


Author:
Petri.Paavola@yodamiitti.fi
Senior Modern Management Principal
Microsoft MVP - Windows and Devices for IT

2023-03-07

https://github.com/petripaavola/Get-IntuneManagementExtensionDiagnostics

Show more

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Get-IntuneManagementExtensionDiagnostics -RequiredVersion 1.0

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Petri.Paavola@yodamiitti.fi

Copyright

Petri.Paavola@yodamiitti.fi

Package Details

Owners

Tags

Intune Windows Autopilot

Functions

RecordStatusToTimeline

Dependencies

This script has no dependencies.

Release Notes

Version 1.0:  Original published version

FileList

Version History

Version Downloads Last updated
2.0 5,613 9/26/2023
1.1 2,690 3/13/2023
1.0 (current version) 42 3/7/2023