In this next installment of my ongoing PowerShell series, I want to focus on putting PowerShell objects to work for you. Let me warn you in advance, however: Put on your advanced thinking caps for ...
pscustomobject is the preferred route - it orders things, and is way faster. You can also set custom types. Only downside is that you need PowerShell v3 or later... but realistically, you should be on ...