관리 메뉴

MY IT Life

Exchange Powershell Script in schedule manager 본문

02. Microsoft/Exchange 2016

Exchange Powershell Script in schedule manager

IT정보 검짱돌이 2019. 2. 28. 18:08
Exchange Powershell Script in 작업 스케쥴러 > 동작 속성 설정



c:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command ". 'C:\Program Files\Microsoft\Exchange Server\V15\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto -ClientApplication:ManagementShell "

(Note: The above is ALL one line)

We are going to break it up into the components needed to schedule a task  in Task Scheduler like this:

Program/Script:  powershell
Add arguments (optional):  -command ". 'C:\Program Files\Microsoft\Exchange Server\V15\bin\RemoteExchange.ps1'; Connect-ExchangeServer -auto ; c:\myscriptsfolder\myscript.ps1 "


[Source page]
http://www.askseng.com/2016/11/how-to-schedule-exchange-powershell.html


0 Comments
댓글쓰기 폼
Prev 1 2 3 4 5 6 7 8 9 Next