How can I schedule a Powershell script to run every day at 3am in Windows 8?
|show 12 more comments|
EDIT: This is a proof of concept that worked for me.
|show 1 more comment|
run 'taskschd.msc', navigate to Powershell and create the job/schedule.
It took me a while to get my Scheduled PowerShell task to work.
Here are a few tactics that helped me.
a) Get a simple PowerShell script working.
My killer problem was not realising PowerShell was the program and the script was merely an argument.
Another minor help was introducing -ExecutionPolicy Bypass before the file name thus:
Finally, I am never sure about the SuperUser etiquette, but this is my page on the subject of Scheduling PowerShell.