That BAT file shouldn't make a difference, it's the account that matters imho.
Can you temporary replace the content of that Get-HostUpTime.ps1 file by something simple that just tries to write to a CSV ?
Something like this for example
Get-Process | Select Name,Product | Export-Csv C:\Scripts\HostsUpTime.csv
and check if that can write to the file ?