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′ “
For the enterprise sys admin by the enterprise sys admin
12
Feb
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′ “
Tags: Exchange 2007, powershell, Scheduled Task
I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones..
— Albert Einstein