ORF反垃圾邮件系统

邮件服务器-邮件系统-邮件技术论坛(BBS)

 找回密码
 会员注册
查看: 10774|回复: 3
打印 上一主题 下一主题

[转帖] exchange 2007 命令行服务启动脚本和停止脚本

[复制链接]
跳转到指定楼层
顶楼
发表于 2007-11-5 21:11:41 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
启动脚本:
net start "Microsoft Exchange Active Directory Topology Service" /y
net start "Microsoft Exchange Anti-spam Update"
net start "Microsoft Exchange EdgeSync"
net start "Microsoft Exchange File Distribution"
net start "Microsoft Exchange Information Store"
net start "Microsoft Exchange Mail Submission"
net start "Microsoft Exchange Mailbox Assistants"
net start "Microsoft Exchange Replication Service"
net start "Microsoft Exchange Search Indexer"
net start "Microsoft Exchange Service Host"
net start "Microsoft Exchange System Attendant"
net start "Microsoft Exchange Transport"
net start "Microsoft Exchange Transport Log Search"
net start "Microsoft Search  (Exchange)"

停止脚本:
net stop "Microsoft Exchange Active Directory Topology Service" /y
net stop "Microsoft Exchange Anti-spam Update"
net stop "Microsoft Exchange EdgeSync"
net stop "Microsoft Exchange File Distribution"
net stop "Microsoft Exchange Information Store"
net stop "Microsoft Exchange Mail Submission"
net stop "Microsoft Exchange Mailbox Assistants"
net stop "Microsoft Exchange Replication Service"
net stop "Microsoft Exchange Search Indexer"
net stop "Microsoft Exchange Service Host"
net stop "Microsoft Exchange System Attendant"
net stop "Microsoft Exchange Transport"
net stop "Microsoft Exchange Transport Log Search"
net stop "Microsoft Search (Exchange)"
沙发
发表于 2007-11-7 13:17:03 | 只看该作者

老大,让我助你一臂之力

在exchange 2007的cmdlet中可以使用如下命令来启动、停止系统服务,当然也包括exchange服务
[ps]>start-service MSExchangeADTopology
[ps]>start-service MSExchangeAntispamUpdate
[ps]>start-service MSExchangeEdgeSync
[ps]>start-service MSExchangeFDS
[ps]>start-service MSExchangeImap4
[ps]>start-service MSExchangeIS
[ps]>start-service MSExchangeMailboxAssistants
[ps]>start-service MSExchangeMailSubmission
[ps]>start-service MSExchangeMonitoring
[ps]>start-service MSExchangePop3
[ps]>start-service MSExchangeRepl
[ps]>start-service MSExchangeSA
[ps]>start-service MSExchangeSearch
[ps]>start-service MSExchangeServiceHost
[ps]>start-service MSExchangeTransport
[ps]>start-service MSExchangeTransportLogSearch
[ps]>start-service MSExchangeUM
[ps]>start-service MSSpeechService


[ps]>stop-service MSExchangeADTopology
[ps]>stop-service MSExchangeAntispamUpdate
[ps]>stop-service MSExchangeEdgeSync
[ps]>stop-service MSExchangeFDS
[ps]>stop-service MSExchangeImap4
[ps]>stop-service MSExchangeIS
[ps]>stop-service MSExchangeMailboxAssistants
[ps]>stop-service MSExchangeMailSubmission
[ps]>stop-service MSExchangeMonitoring
[ps]>stop-service MSExchangePop3
[ps]>stop-service MSExchangeRepl
[ps]>stop-service MSExchangeSA
[ps]>stop-service MSExchangeSearch
[ps]>stop-service MSExchangeServiceHost
[ps]>stop-service MSExchangeTransport
[ps]>stop-service MSExchangeTransportLogSearch
[ps]>stop-service MSExchangeUM
[ps]>stop-service MSSpeechService
这里的服务名必须是【服务名称】,不能是【显示名称】
如果你不知道服务名称,可以使用如下命令来得到
[ps]>get-service
藤椅
发表于 2007-11-7 23:52:34 | 只看该作者
不错,windows2008也开始回归 命令行了
板凳
发表于 2007-11-13 15:51:37 | 只看该作者
好东西,省事阿。。。谢谢了
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

小黑屋|手机版|Archiver|邮件技术资讯网

GMT+8, 2025-1-7 05:41

Powered by Discuz! X3.2

© 2001-2016 Comsenz Inc.

本论坛为非盈利中立机构,所有言论属发表者个人意见,不代表本论坛立场。内容所涉及版权和法律相关事宜请参考各自所有者的条款。
如认定侵犯了您权利,请联系我们。本论坛原创内容请联系后再行转载并务必保留我站信息。此声明修改不另行通知,保留最终解释权。
*本论坛会员专属QQ群:邮件技术资讯网会员QQ群
*本论坛会员备用QQ群:邮件技术资讯网备用群

快速回复 返回顶部 返回列表