为用户添加一个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]"}
时间: 2024-10-12 10:53:30