从邮箱发送的邮件中添加免责声明

将一份免责声明添加到从邮箱 kenmyer@fabrikam.com 发送的所有消息。此脚本/命令要求微软 Exchange Server 2007。
$ConditionArray = Get-TransportRulePredicate
$Condition = @($ConditionArray[0])
$Condition[0].addresses = get-mailbox kenmyer@fabrikam.com
$ActionArray = Get-TransportRuleAction
$Action = @($ActionArray[14])
$Action[0].Text = “Test disclaim message for one liner”
New-TransportRule “newrule” -Conditions $condition -Actions $action

Exchange中文站
Latest posts by Exchange中文站 (see all)
发布于: 浏览:4227 次

还没有评论

This site uses Akismet to reduce spam. Learn how your comment data is processed.