AlexGor
Level 2

Creating scheduled task that runs a power shell script.

Hi. I am struggling to create scheduled task that will execute power shell script.
I Cannot find any tutorial(one full example at least) that shows how to create scheduled task.
I found only the documentation that not help if you do this for the first time.
Thanks.
Labels (1)
0 Kudos
1 Reply
phill_mn
Level 7

Did you do the steps detailed here:
http://kb.flexerasoftware.com/doc/Helpnet/installshield19helplib/helplibrary/STasks-Adding.htm

The question combines to issues. 1)creating a scheduled task in MSI and 2) interacting with power shell from an MSI. I would break the problem into two steps and just create a task that does not use power shell, and then focus on the power shell using info from here:
http://blogs.technet.com/b/heyscriptingguy/archive/2011/01/12/use-scheduled-tasks-to-run-powershell-commands-on-windows.aspx
0 Kudos