You should do the ConvertFrom-Csv on the complete output, not just individual entries.
Something like this perhaps?
I don't know what you pass as CSV from the script that runs in the Guest OS
foreach ($task in $tasks) {
$report += $task.Result.ScriptOutp | ConvertFrom-Csv |
Select VM,State,Error,KB,InstallStatus
}
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference