Finding Object Types

by Jun 1, 2010

When you pipe the result of a command to Get-Member, it examines the returned objects and shows the properties and methods. Use this line if you would like to focus on the different object types a command returns:

Dir $env:windir | Get-Member | Group-Object TypeName -noelement

Twitter This Tip! ReTweet this Tip!