I ran a curl statement and populated a variable named $output.
Inside the $output variable are values which are comma separated with no headers. I would like to create an html file showing the list of values.
$output contains something like the following, including the quotation marks:
“app.something.status”, “app.something2.pl”, “app.someapp.health”
I have tried everything. The only success I had in actually getting the data out was to export it to a txt file using:
$output | out-file c:\scripts\output\k.txt
Now I have a file which looks exactly like the content of $object, but I am unable to format it in any other way. If I had headers I suppose it might be easier.
Would someone please give me some ideas?