When using powershell to retrieve info about events Message column gets trimmed and is too short:
Index Time Type Source EventID Message
—– —- —- —— ——- ——-
2 Sep 18 12:50 Info yaddayadda 0 Class: Controllers.BasketController…
1 Sep 18 12:50 Info yaddayadda 0 Class: Controllers.BasketController…
Is it possible to see full message?
You are seeing the default table format for the type (this will be define in one of the install (
x.format.ps1.xmlfiles).You can:
format-table -wrapto the end of pipeline and PSH will wrap the text of the final column.format-table -autoto the end of the pipeline and PSH will adjust all the columns to fit (but needs to see all the data first, so you will not get incremental results).-autoand-wrap.help format-table -fullfor details.