Add-UDElement index?

Something like this from Adam: Output Window with Scrollbar?
or you can add your items to an ordered hashtable: $hashtable = [ordered]@{}
or a pscustomobject “should” maintain order: $psco = [pscustomobject]@{}
( if it doesn’t, force it: $psco = [ordered][pscustomobject]@{} )

gav

1 Like