重新启动 Microsoft Exchange 服务。通过报错我们取得我们的 Exchange 服务器的域控制器和曾经因为它要花 20 分钟才能重新启动。通过首先停止所有相关邮件服务我们改善我们的重新启动时间仅需 5 分钟。
Visual Basic
@echo off
REM /***************************************************\
REM * DCexchangeRestart.bat *
REM * Created: 01/17/2006 By: JHARDWICK *
REM \***************************************************/
echo This program will restart the server.
echo Press Ctrl+C to cancel restart, or
pause
echo You have chosen to shut down.
net stop iisadmin /y
net stop MSExchangeIS
net stop MSExchangeMGMT
net stop MSExchangeMTA
net stop MSExchangeSA
Shutdown -r -t 00
Latest posts by Exchange中文站 (see all)
- 微软发布Azure PlayFab公众预览 - 2021年10月22日
- 微软发布全新云计算资料分析工具Azure Synapse - 2020年12月15日
- Exchange Server 版本号和发行日期汇总 - 2020年9月21日
发布于:
浏览:9432 次
还没有评论