February 12 2009

Exchange 2007 Powershell script scheduled task?

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 FilesMicrosoftExchange Serverbinexshell.psc1" -command "& 'your script.ps1' "



----------------------------------------------------------------------------
I use a maximum of one Google Ad per post to help offset some of my blog hosting costs.

----------------------------------------------------------------------------


Tags: , ,

Posted February 12, 2009 by danovich in category "Exchange", "Powershell

Leave a Reply