View
A view is a named, stored set of formatting rules for displaying objects of a particular type.
Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS
A predefined view is a stored set of formatting rules targeted at a particular object type.
- How it is used
- Controls how PowerShell objects become readable text for display or output commands.
- How deep it goes
- Explains type-based selection and custom type data, but stops short of teaching complete predefined-view creation.
- Examples
- Uses KeyHandler formatting and a customized System.Uri display-property set.
- What you can do after
- Evaluate/understand how PowerShell selects predefined views and applies custom display properties.
Learn PowerShell Scripting in a Month of Lunches, Second Edition: Write and organize scripts and tools
A view name is the identifier assigned to a formatting view within a type-specific view set.
- How it is used
- Shapes PowerShell command output into polished, task-specific tables without changing the emitted objects.
- How deep it goes
- Explains XML view structure, type selection, labels, widths, alignment, and property mapping, but not a formal format-file specification.
- Examples
- Uses native default views, System.Reflection.Assembly table XML, and a DiskInfo view for machine information.
- What you can do after
- Build it from scratch by assigning a custom type name, editing XML table definitions, and packaging the format view with a module.
Related concepts
- formattingused by · Formatting is the arrangement or transformation of content, data, or code according to specified structural, stylistic, or presentation conventions.
- format filepart of · A format file is a PowerShell XML configuration file that defines how specific object types are displayed.
- object typeconfigured by · An object type is a programming-language type that specifies the representation, possible values, structure, and operations of objects.
- viewconfigures · A view is a representation or access interface that presents selected, transformed, or derived information from underlying data or state.
Questions about view
What is view?
A view is a named, stored set of formatting rules for displaying objects of a particular type.
Which Manning books explain view?
Learn PowerShell in a Month of Lunches: Fourth Edition, Covers Windows, Linux, and macOS and Learn PowerShell Scripting in a Month of Lunches, Second Edition: Write and organize scripts and tools.
What is view part of?
View is part of format file. A format file is a PowerShell XML configuration file that defines how specific object types are displayed.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

