This is driving me mental! I cant seem to get the output of my array to an HTML page the way i want. Below is a snippet of my final line of code where my array $adm is being outputted to a HTML page.
ConvertTo-Html –body "The below ADM's have been removed $($adm.toupper())" | Out-File -Append $report
My $adm array has 3 elements in them and when the above line of code runs, I can see the output in one single line like:
KAN2332 HSGS233 JHDS666
I want it like:
Also not sticking to the left side of the page, in this possible? I dont seem to do this. I even tried exporting to csv as a test and it didnt give me anyone but the length value?! (Must be doing something wrong!)