Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 225804

Re: Export CSV doesn't update the file when it runs via Task Scheduler

$
0
0

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 ?


Viewing all articles
Browse latest Browse all 225804

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>