Select –ExpandProperty <PropertyName>

by Sep 14, 2009

Most of us are familiar with the traditional use of Select –ExpandProperty <propertyname>.  This takes a the value of an incoming object, enumerates its values and outputs each of those values as a single record on the output stream after adding any properties specified by the –PROPERTIES <propertyname[]> parameter.  An example will help: PS> gps |Select -ExpandProperty Modules -ea SilentlyContinue… Read the full text.