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?
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?