O'Reilly logo

Learn PowerShell Scripting in a Month of Lunches by Don Jones and Jeffery Hicks

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 24. Making script output prettier

Throughout this book, we’ve tried to keep you focused on building tools that do one thing, and one thing only. Tools don’t care where their input comes from, as long as that input can be fed to a parameter. Tools don’t care where their output goes or what it will be used for. That means tools don’t try to create nicely formatted output—after all, you can use one of the native Format- commands, or even Select-Object, to pretty up the output if that’s what you need. Perhaps you want to make the output easier to read or more boss-friendly. In this chapter, however, we’re going to introduce you to two approaches for prettying up output that go beyond what the Format- commands can do.

24.1. Our starting ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required