How to configure running PowerShell script in Windows Scheduler for non-geeks

So you have a PowerShell Script file c:program filesmy awesome scriptsscript1.ps1

You want it to run every day at 7.30 am.

OpenĀ  Windows Scheduler. Create Task..

Provide typical info, good to describe your task very well, just like I did below ;-) When you run mission critical tasks, make sure to choose account that will have access to all resources, also select “Run with highest privileges” and “run when user is logged or not”

In triggers section, choose when it runs

Now is a tricky part. In Actions, youneed to Start a program, provide a path to Powershell which is


If your script path have spaces, add ampersand (&) and wrap with single apostrophe. It is important, if you don’t your script will not execute properly (non-geeky character of this post does not allow me to explain why)

You are done. Test run your task.

Leave a Reply