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

Simple Question (I hope) for ScheduledJob

$
0
0

Hello All,

I am trying to teach myself Powershell and currently, I am trying to make a script to run a ScheduledJob to backup a local folder onto a network share.

I finally found out why my script wasn't running and that's because of an option within taskschd.msc that has "Do not store password. The Task will only have access to local resources" checked on my script.

Is there a way to uncheck this automatically using New-ScheduledJobOption (or any other way)?  

Thanks!


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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