为用户添加一个SMTP地址,
Set-Mailbox "Dan Jump" -EmailAddresses @{add="dan.jump@northamerica.contoso.com"}
为用户添加多个SMTP地址:
Set-Mailbox "Dan Jump" -EmailAddresses @{add="dan.jump@northamerica.contoso.com","danj@tailspintoys.com"}
查看用户的SMTP地址:
Get-Mailbox <identity> | fl EmailAddresses
删除SMTP地址:
为用户删除一个SMTP地址,
Set-Mailbox "Janet Schorr" -EmailAddresses @{remove="janets@corp.contoso.com"}
为用户删除多个SMTP地址:
Set-Mailbox "Janet Schorr" -EmailAddresses @{remove="janet.schorr@corp.contoso.com","janets@tailspintoys.com"}
如何设置Primary SMTP地址和Secondary STMP地址:
Set-Mailbox "fujingjie" -EmailAddresses SMTP:fujingjie@contoso.com,smtp:fujingjie@test.contoso.com
本文出自 “老英的微软博客” 博客,请务必保留此出处http://zyliday.blog.51cto.com/760700/1725681
本文介绍如何使用PowerShell命令为Exchange用户添加、查看及删除SMTP地址,并演示如何设置PrimarySMTP和SecondarySMTP地址。

4453

被折叠的 条评论
为什么被折叠?



