Mailbox language in Exchange 2010 – not present

22 Dec

Sets the language attribute of Exchange 2010 mailboxes – use this powershell script

usage scenario: During a move mailbox scenario in a mid-large international company users told that they got Non Deleivery Reports (NDRs) in German language. Crazy, because all servers are set up with English OS and English Exchange Software – no German at all!

So we decided to set all mailboxes to have US-EN as default language for NDRs. That resolved our problem!

So I did a short powershell script looking for all Exchange 2010 server mailbox stores (we had 4 maibox servers with 20 databases in a DAG).

After doing that, I was able to set the language of all mailboxes.

Getting all Exchange 2010 servers

Get-mailboxserver   | where {$_.admindisplayversion -like “Version 14*”}

Looping through all Exchange 2010 server mailboxes

Get-Mailbox -server $server -resultsize unlimited

Setting new values

SET-mailbox -languages “en-US”

Full code

$servers =   Get-mailboxserver   | where {$_.admindisplayversion -like “Version 14*”}
foreach($server in $servers)
{

Get-Mailbox -server $server -resultsize unlimited | SET-mailbox -languages “en-US”

}

Leave a Reply

Your email address will not be published. Required fields are marked *