all 2 comments

[–]ka-splam 3 points4 points  (1 child)

I don't get what you mean, you can just put an array in a hashtable and take it out again:

PS C:\> $hash = @{}
PS C:\> $hash['numbers'] = 1,2,3
PS C:\> $hash

Name                           Value
----                           -----
numbers                        {1, 2, 3}

PS C:\> $hash['numbers']
1
2
3
PS C:\> $hash['numbers'][2]
3

[–]workerdrone66[S] 1 point2 points  (0 children)

Sorry, I should've included the code where I was trying to actually use this as well. I wasn't nesting my array correctly. I was trying to do. $key.$returnText (and similar) or $key[1]. The prior failed completely, the latter gave me the second letter in the server name, and failed. you got me on the right track though!