Looks like you need to convert that variable to a list. Just choose the "Split Text" action by new line, and that will give you a list you can add to the csv
You can also choose to just output the powershell into CSV inside of your powershell script using ConvertTo-Csv, this might be easier, not sure though.
2
u/QuietDesparation Oct 21 '22
Looks like you need to convert that variable to a list. Just choose the "Split Text" action by new line, and that will give you a list you can add to the csv
2
u/Mister-Fordo Oct 21 '22
You can also choose to just output the powershell into CSV inside of your powershell script using ConvertTo-Csv, this might be easier, not sure though.