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.xml
files).
You can:
format-table -wrap
to the end of pipeline and PSH will wrap the text of the final column.format-table -auto
to 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).-auto
and -wrap
.help format-table -full
for details.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With