How to run PowerShell scripts with arguments in Task Scheduler ?
Posted on 2012-12-21
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.