Write a Type View
PowerShell has a robust, extensible types system. With Write-TypeView, you can easily add extended type information to any type. This can include:
The default set of properties to display (-DefaultDisplay) 
Sets of properties to display (-PropertySet) 
Serialization Depth (-SerializationDepth) 
Virtual methods or properties to add onto the type (-ScriptMethod, -ScriptProperty and -NoteProperty) 
Method or property aliasing (-AliasProperty)



The name of the type

The serialization depth. If the type is deserialized, this is the depth of subpropeties that will be stored. For instance, a serialization depth of 3 would storage an object, it's subproperties, and those objects' subproperties. You can use the serialization depth to minimize the overhead of moving objects back and forth across the remoting boundary, or to ensure that you capture the correct information.

The ID property

Will hide any properties in the list from a display

Property sets define default views for an object. A property set can be used with Select-Object to display just that set of properties.

The default display. If only one propertry is used, this will set the default display property. If more than one property is used, this will set the default display member set

A Collection of virtual property names and the script blocks that will be used to get the property values.

A collection of virtual method names and the script blocks that will be used to run the virtual method.

A collection of property aliases

A collection of fixed property values.