爲用戶添加一個SMTP地址, Set-Mailbox "Dan Jump" -EmailAddresses @{add="[email protected]"} 爲用戶添加多個SMTP地址:
Set-Mailbox "Dan Jump" -EmailAddresses @{add="[email protected]","[email protected]"}
查看用戶的SMTP地址:
Get-Mailbox <identity> | fl EmailAddresses
刪除SMTP地址:
爲用戶刪除一個SMTP地址, Set-Mailbox "Janet Schorr" -EmailAddresses @{remove="[email protected]"}
爲用戶刪除多個SMTP地址: Set-Mailbox "Janet Schorr" -EmailAddresses @{remove="[email protected]","[email protected]"}
如何設置Primary SMTP地址和Secondary STMP地址:
Set-Mailbox "fujingjie" -EmailAddresses SMTP:[email protected],smtp:[email protected]
本文出自 “老英的微軟博客” 博客,請務必保留此出處http://zyliday.blog.51cto.com/760700/1725681