Author Posts

March 5, 2018 at 10:05 am

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:

March 5, 2018 at 2:55 pm

Somewhat related,

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 ;).

March 6, 2018 at 7:26 am

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