Exchange2007常用命令[收集整理中]
本文收集Exchange2007常用命令--------------------------------------------------------------------
若要将邮箱用户test的每封邮件的收件人数限制为 100,请运行以下命令:
Set-Mailbox -Identity "test" -RecipientLimits 100 资料参考:
http://technet.microsoft.com/zh-cn/library/bb310760(EXCHG.80).aspx --------------------------------------------------------------------
更新脱机通讯簿,运行以下命令:
Update-OfflineAddressBook -Identity "My OAB"
资料参考:http://technet.microsoft.com/zh-cn/library/aa997684(v=exchg.80) --------------------------------------------------------------------
默认的邮箱删除后有30天保留时间
首先确定用户所在的邮箱数据库的名称使用以下命令:
Get-MailboxDatabase | fl *identity*
通过以上命令就能显示出邮箱数据库的完整路径了,然后使用以下命令(需要双引号的)键入完整的邮箱数据库名称:
clean-mailboxdatabase -identity "server\first storage group\database name"
然后再在Disconnected mailbox里找到删除的邮箱进行恢复。
恢复删除的单个邮箱,已断开连接的邮箱: 默认情况下,已断开连接的 Exchange 邮箱对象仍将在 Exchange 数据库中保留 30 天,然后再删除;
Connect-Mailbox -Database "Mailbox Database" -Identity "test" 资料参考
①:http://technet.microsoft.com/zh-cn/library/bb691058(v=exchg.80)资料参考②:http://technet.microsoft.com/zh-cn/library/bb676392(v=exchg.80)-------------------------------------------------------------------- 统计一台HUB服务器上一个时间段内的发送情况;
Get-MessageTrackingLog -ResultSize unlimited -Start "07/01/2012" -End "07/31/2012" -EventId "send" -Server "ServerName" |Measure-Object -EventId 可包括BadMail、Defer Deliver、DSN、Expand、Fail、PoisonMessage、Receive、Redirect、Resolve、Send、Submit 和 Transfer.为对邮件状态进行检索。 资料参考
①:http://technet.microsoft.com/zh-cn/library/aa997573(v=EXCHG.80).aspx--------------------------------------------------------------------
页:
[1]