Using Out-GridView, how do you control what the column names are? I would like something meaningful for the column names instead of “string” - is this possible?
[string] $colLabel = 'MyLabel'
[string] $a = 'a'
[string] $b = 'b'
$Selected = ($colLabel), ($a), ($b) | Out-GridView