为用户添加一个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"}
本文出自 “老英的微软博客” 博客,请务必保留此出处http://zyliday.blog.51cto.com/760700/1725681
原文地址:http://zyliday.blog.51cto.com/760700/1725681