Trucate output view?

Is it possible to truncate the output view so i can choose how many characters to display? Substring wont work, as i want to keep the objects in the pipeline. Only want to truncate the display.
Take a look at how the output looks for now:
https://twitter.com/greiginsydney/status/969671584771317760

Somewhat related, https://powershell.org/forums/topic/truncated-output/#post-95178.

Yes, but to do this the right way you need to build your code as a function, in a module, and pair that module with a custom formatting view. I cover that in a variety of books I’ve written ;).

You learn something new about PowerShell every day :slight_smile:
Thanks for pointing us in the right direction.