I am using the .net web object to retrieve a text file which is comma delimited.
The variable comes back as a single array as if I had used Get-Content to load it from disk. I use a foreach loop to insert a comma between the date and the time values in the array so I have 3 columns.
I then save the array to disk using Set-Content and then reload it using Import-CSV to get a Multi Dimensional array that I can then use with select.
Is there a way of converting the array type without saving it to disk and reloading it?
Thank you