Write-TypeView


|

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)

Type Name

The name of the type

Serialization Depth

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.

Id Property

The ID property

Hide Property

Will hide any properties in the list from a display

Property Set

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

Default Display

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

Script Property

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

Script Method

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

Alias Property

A collection of property aliases

Note Property

A collection of fixed property values.