我在操作選項卡下設置計劃任務(現稱爲任務計劃程序)以在Windows 2007服務器上運行時遇到問題。它還具有Exchange Server 2007的powershell exchange:你如何設置一個計劃任務來運行exchange2007 powershell?
我試過設置
程序/腳本:C:\ WINDOWS \ SYSTEM32 \ WindowsPowerShell \ V1.0 \ powershell.exe 添加參數(可選):-psconsolefile exshell .psc1 -command 「& {C:\ MES細節\ emsbilling08.ps1}」 出發點(可選):「C:\ Program Files文件\微軟\ Exchange服務器\ BIN \
我意識到exshell.psc1可能還需要一個明確的路徑,所以我也試過了:
-psconsolefile C:\ Program Files \ Mi crosoft \ Exchange Server \ Bin \ exshell.psc1 -command「& {c:\ mes-detail \ mailall3.ps1}」,但這也行不通
任何想法?
酷..感謝您指出我在這個方向 – phill 2008-12-04 17:33:33