I am writing a function that returns an id, name pair.
I would like to do something like
$a = get-name-id-pair() $a.Id $a.Name
like
Yes. Use the following syntax to create them
$a = @{} $a["foo"] = "bar"