I have written a simple task to get events from the application log of the server but when i run it the columns are squashed into less than half of the screen width (as below)

Is there a way to get the results to use more page / screen width so everything in the event message isn’t squashed into a very narrow wrapped column?

I have seen an article using pscustomobject but I dont think that applies here as adding a column to the output just uses the same space and makes the columns narrower.



Peter Svensson answered