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:
Resolution
Use Format-Table -Wrap:
Get-EventLog Application -Newest 1 | Format-Table -Wrap
Use -ExpandProperty:
Get-EventLog Application -Newest 1 | Select -ExpandProperty Message
Comments
Post a Comment