I have SBS 2011 running Exchange 2010. The email addresses have capital letters in their Christian names and surnames, e.g., JoeBloggs@mydomain.com. How would I go about removing the caps so the address reads joebloggs@mydomain.com?
ExchangeSBS
Last Comment
VB ITS
8/22/2022 - Mon
VB ITS
After some searching online, I managed to find this script. All credit goes to Mike Crowley.
$MailboxList = Get-Mailbox -ResultSize unlimited$MailboxList | % {$LoweredList = @()$RenamedList = @()foreach ($Address in $_.EmailAddresses){if ($Address.prefixstring -eq "SMTP"){$RenamedList += $Address.smtpaddress + "TempRename"$LoweredList += $Address.smtpaddress.ToLower()}}Set-mailbox $_ -emailaddresses $RenamedList -EmailAddressPolicyEnabled $falseSet-mailbox $_ -emailaddresses $LoweredList#Without this line the "Reply To" Address could be lost on recipients with more than one proxy address:Set-mailbox $_ -PrimarySmtpAddress $_.PrimarySmtpAddress}
Thanks for the script, though I'm nervous about running code I don't fully understand. I only have a handful of mailboxes, do you know how I could make the changes manually?
Open in new window
Source article: http://mikecrowley.wordpress.com/2012/05/14/converting-smtp-proxy-addresses-to-lowercase/