I have a .ps1 script with arguments (means I run it under powershell: ./script.ps1 -timeframe 100 -filename c:/file -silent).
My question is, how can I create a scheduled task to run this script, or a .bat file to run this script, and to be able to schedule the .bat file...
Or actually any other suggestions how to schedule this script it would be great, I'm just not familiar with PowerShell yet.
Thanks!
http://blogs.technet.com/b/heyscriptingguy/archive/2012/08/11/weekend-scripter-use-the-windows-task-scheduler-to-run-a-windows-powershell-script.aspx