Hi,
I'm using PowerShell to return a two-dimension grids, and I was not able to have the returned columns to be in the order that I want. Any solution to this please?
Basically, what I did is:
$properties = @{item1='';item2='';...etc}
$newVal = New-Object PSObject -Property $properties
$newVal.item1=...
$results += $newVal
Then "return $results" at the end of the function.
Please help.
Thanks.