Scheduling script help

I’ve written a fairly long (at least to me lol) script to automate new AD account creation by reading data out of an excel sheet that hr will add new hires to. the script works fine from the ise and when I scheduled it and check the “Only run when user is logged on” box.

But…. when I select “run whether the user is logged in or not” box the script seams to run but also isn’t pulling data out of excel. I can tell because the time stamp on the txt file it outputs is updated but like I said there’s no data from the excel sheet like there should be.

Any ideas?

submitted by /u/twinkislayer_
[link] [comments]

Leave a Reply