[August 25th, 2008] Check the home page regarding PowerShell related news from a brand new sponsor: Idera!
$a = 1,2,3
$a | gm
TypeName: System.Int32
$a.GetType().FullName
FullName: System.Object[]
$a = [int[]] $a
System.Int32
System.Int32[]
As you can see, what are the Types inconsistent? Am I missing or just not understanding something?
Adding to Steve, to get the collection type itself (instead of its members) use a singelton array notation: ,$a | gm or - (,$a).gettype().fullname