Resolves an issue where Exchange user mailbox aliases are garbled

Source: Internet
Author: User

exchange2010sp2 , after you bulk-enable user mailboxes, aliases appear garbled for users in the OU that are Chinese.

Have Exchange2010 experience of the friends know, we if in the graphical interface for multiple domain accounts to open the mailbox, and for the OU in the Chinese user so will cause user alias is garbled, this is a rather depressing thing.

Here's how to fix it:

Copy the following into a notepad and save the file as a Alias.ps1 file

$list =get-mailbox

ForEach ($item in $list)

{

$user =get-user $item

$sam = $user. sAMAccountName

Set-mailbox $item –alias "$sam"

}

Note: $list =get-mailbox represents a mailbox variable.

$item represents a property variable for each mailbox.

$sam = $user. sAMAccountName represents the login variable for each user

Save the Alias.ps1 file to the Exchange C disk directory. Then open input: EMS. \alias.ps1

Open EMC validation, problem resolution.

Resolves an issue where Exchange user mailbox aliases are garbled

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.