Skip to content

Get-OfficeApplicationCrashes – Get Summary of Office Application Crashes from Windows Event Log with PowerShell

I had reason to need to quickly understand how often a particular PC was experiencing Office Application Crashes, so I wrote this quick PowerShell to filter the event log and find office 16.x crashes based on the event ID 1000.

I sorted them by Message to quickly see which application or applications were causing issues. This is also useful to see if a specific version number is causing issues.

It also quickly tells you why type of Office 16.x install you have and your current version (to compare crash versions to the currently installed version).

Hopefully this can help you quickly narrow down and resolve any issues.

image

Script Source: https://github.com/tomarbuthnot/Get-OfficeApplicationCrashes/blob/master/Get-OfficeApplicationCrashes.ps1

Run directly from GitHub (don’t do this, check the source of everything you run, this is just for me to quickly copy paste)

$ScriptFromGithHub = Invoke-WebRequest https://raw.githubusercontent.com/tomarbuthnot/Get-OfficeApplicationCrashes/master/Get-OfficeApplicationCrashes.ps1
Invoke-Expression $($ScriptFromGithHub.Content)

Published inMicrosoft

Be First to Comment

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.