2008 Scheduled Task Issue 3.5

There is a bug with Server 2008/2008R2 systems with the scheduled task. This will be fixed in the next release.

Please go into the scheduled task and go to the actions tab.
On Start a program, choose the edit button.

In the program/script area, copy/paste the following:

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe

In the Add arguments (optional) area, copy/paste the following:

-ExecutionPolicy Bypass “& ‘C:\Program Files\AJ Tek\WAM\Clean-WSUS.ps1’ -ScheduledRun”

 

Click OK until you’re out. You should then be able to right click the task and choose run now and it should run successfully.