by Christopher.Ellis at 2013-02-22 11:43:48
We want to run a powershell script automatically once a month, can one schedule this with powershell? if so, what command would we use ?by kittH at 2013-02-22 12:51:07
Powershell 3 has a set of commands for creating windows scheduled tasks, you can find information about them here: http://blogs.technet.com/b/heyscripting … d-job.aspxby Christopher.Ellis at 2013-02-23 06:55:40
That being said, normally I would just create a task using Windows Task Scheduler and have it run “powershell.exe” with a parameter for the path to your script, "C:\Scripts\PowershellScript.ps1"
I attempted to download the psscheduledjob module from Microsoft web site however, I did not find a download for that module, Am I missing something?by Christopher.Ellis at 2013-02-23 13:15:54
Search via the different forums, and the PSScheduledjob module appears to be in Powershell version 3 only , not version 2