How to fix exchange 2010 alias is empty

Exchange 2010 bug, the alias is empty. If your user is chinese name the simpledisplay name & smtp have question mark. You can use the below script to fix it.

$list=Get-Mailbox | where {$_.alias -like "???"}
ForEach ($item in $list)
{
$user=Get-User $item
$sam=$user.SAMAccountName
Set-Mailbox $item –Alias "$sam"
}

This script help you to change question mark to SAMAccountName.

Do you have any question please contact me.

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章