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
Read More...
Read the complete post at http://blogs.msdn.com/powershell/archive/2009/09/14/select-expandproperty-propertyname.aspx
Posted
Sep 13 2009, 08:04 PM
by
Windows PowerShell Blog