Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Script not running in task scheduler

$
0
0
I have a script that performs a number of tasks based on info provided by a number of csv files. The last task, before emailing the results with the log file, is to perform some tasks in Office 365. I have encrypted the password, to a file, to sign in to Office 365. The script functions when I run it manually but when I run it as a scheduled task it doesn't run. I know its the encrypted password that's causing the issues because I'm logging the various tasks for any problems to a log file. The log file stops processing at the point when I get to the Office 365 tasks area and the email is never sent.

Viewing all articles
Browse latest Browse all 21975

Trending Articles



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