Skip to Main Content
PowerShell in Depth
book

PowerShell in Depth

by Don Jones, Jeffery Hicks, Richard Siddaway
February 2013
Intermediate to advanced content levelIntermediate to advanced
632 pages
20h 20m
English
Manning Publications
Content preview from PowerShell in Depth

Chapter 9. Formatting

This chapter covers

  • PowerShell’s formatting system
  • PowerShell’s Format cmdlets
  • Formatting tips

PowerShell, as you’ve learned in the preceding chapters, works primarily with objects. Objects are just an in-memory data structure. But the time comes when PowerShell needs to share information from those objects with us humans. PowerShell has to take those in-memory data structures and convert them into something a person can view. PowerShell’s formatting system is designed to accomplish that task.

9.1. The time to format

Whenever you construct a command line, those commands all run in a pipeline. What you don’t see is an invisible cmdlet hanging out at the end of every pipeline: Out-Default. It’s hardcoded into the ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

PowerShell in Depth, Second Edition

PowerShell in Depth, Second Edition

Don Jones, Richard Siddaway, Jeffery Hicks
PowerShell in Practice

PowerShell in Practice

Richard Siddaway

Publisher Resources

ISBN: 9781617290558Publisher SupportOtherPublisher WebsiteSupplemental ContentPurchase Link