1. 找出已经禁用的AD账号
get-Mailbox | get-user | where {$_.UserAccountControl -match "AccountDisabled"}
2. 禁用账号邮箱
disable-mailbox -identity user@domain.com