Powershell - return hashtable, combine in object?

Status
Not open for further replies.

Speeder

Ars Tribunus Militum
2,659
Subscriptor++
I created a powershell function that runs an exe, and pulls a bunch of data. Currently, it returns a hashtable, ie
name = value
address = value

if i loop through this function from a different script, can I combine hash tables into an object? ie
<Name>, <Address>
name1, Address1
name2, Address2

or is there a better/easier/simpler way of returning the data from a function?
 
Status
Not open for further replies.