Get-EventLog Message truncated - Show full event log message PowerShell

This post describes how to get the full event log message using the Get-EventLog PowerShell command which, by default, will truncate the message:

Get-EventLog Message truncated

Resolution

Use Format-Table -Wrap:

Get-EventLog Application -Newest 1 | Format-Table -Wrap

Get-EventLog Message wrapped

Use -ExpandProperty:

Get-EventLog Application -Newest 1 | Select -ExpandProperty Message

Get-EventLog Message expanded

Comments

Popular posts from this blog

LG TV This app will now restart to free up more memory

LG TV Clear All Browsing History Data

LG TV turn off Quick Start in settings