Jun 23, 2013 · In the Add Arguments field type: ... When I type ‘task scheduler’ in search field and Enter.In task Scheduler window under Action tab – “Create Basic task is disabled”. It shows Connect ...
Paste the action and the arguments. Voila! A fairly reasonable approximation of the scheduled task: c:\windows\system32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -Executionpolicy bypass -file "\\path\to\Generate-SQLDatabaseGrowth.ps1" -Parameter 'Value' Other Considerations. There are other considerations that may come into play in.