Hi LucD,
I just changed the script to include only Get-Process | Select Name,Product | Export-Csv C:\Scripts\HostsUpTime.csv I runs the Schedule Task and it modified the file without any issue.
Is the script along with the schedule task stopping this from modifying the file..?