To run a Exchange 2007 Powershell script as a scheduled task you need to call the Exchange Shell as part of the command eg:
powershell -psconsolefile "C:\Program Files\Microsoft\Exchange Server\bin\exshell.psc1" -command "& 'your script.ps1' "
Possibly related posts (auto generated):

Related Articles
No user responded in this post
Leave A Reply