I created function that creates an ordered CustomObject which gets some details from a web url. I needed it ordered to make the results clearer. I was hoping I can now select some properties by the names I gave them but it turned it's not the case as when I GM'ed the result it reported as System.Collections.Specialized.OrderedDictionary. What can I do with it so I can pipe to select-object to call for my named properties?
Update: I just found when I use [pscustomobject] rather than [ordered] it gives me exactly what I need.