A ForEach loop doesn't place objects on the pipeline, so you'll have to use a trick.
Place the complete script in a call block, and then you can do the export.
It would look something like this
& {
# The original script
} |ExExport-CsvC:\report.csv-NoTypeInformation-UseCulture