Hello Community,
I'm running a PowerShell Script with Task Scheduler, the task shows "Completed Successfully" but the script didn't run. Here's some information about the script:
General:
Name: SPSiteBackup
Run whether user is logged on or not
Triggers:
At 2:45 every day
Actions:
Start a Program
Powershell.exe
Add arguments: -ExecutionPolicy Bypass -file D:\Scripts\spBackupSite.ps1
Conditions:
Start the task only if the computer is on AC power
Wake the computer to run this task
Settings:
Allow task to be run on demand
Run task as soon as possible after a scheduled start is missed
Stop the task if it runs longer than 2 hours
Please provide guidance and examples.
Thanks!
Tom
Tom Molskow - Senior SharePoint Architect - Microsoft Community Contributor 2011 and 2012 Award - Linked-In - SharePoint Gypsy