# Selecting from System.Collections.Specialized.OrderedDictionary

**URL:** <https://forums.powershell.org/t/selecting-from-system-collections-specialized-ordereddictionary/11544>\
**Category:** PowerShell Help\
**Created:** [October 25, 2018, 5:32am UTC](https://forums.powershell.org/t/selecting-from-system-collections-specialized-ordereddictionary/11544 "2018-10-25T05:32:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarek-c](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jarek-c](https://forums.powershell.org/u/jarek-c)\
**Post date:** [October 25, 2018, 5:32am UTC](https://forums.powershell.org/t/selecting-from-system-collections-specialized-ordereddictionary/11544/1 "2018-10-25T05:32:00Z")

</div>

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?

&nbsp;

Update: I just found when I use [pscustomobject] rather than [ordered] it gives me exactly what I need.

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:34pm UTC](https://forums.powershell.org/t/selecting-from-system-collections-specialized-ordereddictionary/11544/2 "2024-05-16T20:34:11Z")

</div>

Closed on May 16, 2024, 8:34pm UTC


