Hello,
I would like to know how the process works inside the new-udtable and how it decides how to order the columns by itself.
For example, I have a script that reads diskspace from a server that needs to show 6 results and I want the columns to be in a specific order.
The order in my pscumtomobject :
ServerName, DriveLetter, VolumeName, TotalSpaceGB, FreeSpaceGB, PercentageFree.
This is the order I want my colums to be shown.
When I leave up to the udtable it will sort of randomise it into:
VolumeName ServerName TotalSpaceGB DriveLetter PercentageFree FreeSpaceGB
what I want is this:
So long story short, why does udtable work like this? can I use commando’s within udtable to make a choice how the order is? (besided using a udtablecolumn?)
thank you!