Solved

rename exchange2003 alias

Posted on 2013-06-11
5
250 Views
Last Modified: 2013-06-11
Hi,

We are starting to replicate from EX2003 to EX2010 than found that Alias with spaces and ponctuation are not accepted in 2010 and cause problems.
So, i want to rename them but have more than thousand and many of them are public folders. Same thing with "Schedule+Free/busy" (Alias with spaces).
Did somebody do that before and with a special way ?

Tks
0
Comment
Question by:rmailloux
  • 3
5 Comments
 
LVL 9

Assisted Solution

by:David Carr
David Carr earned 250 total points
ID: 39237601
From an Exchange 2010 Server you can run the following PowerShell from the Exchange Mangement Shell. This will remove space from the mailbox users.
Get-Mailbox | Where {$_.Alias -like "* *"} | ForEach-Object {Set-Mailbox $_.Name -Alias:($_.Alias -Replace " ","")}

Open in new window


For public folders use the following PowerShell:
Get-PublicFolder -identity "\" -Recurse -ResultSize Unlimited | Get-MailPublicFolder | Where {$_.Alias -like "* *"} | ForEach-Object {Set-MailPublicFolder $_.identity -Alias:($_.Alias -Replace " ","")}

Open in new window

0
 

Author Comment

by:rmailloux
ID: 39237672
Hy Gkrew,

I did it before but it's look like if nothing change...
I'm trying it anothertime now but no answer at the shell.... look if it's working but nothing...(?)
I know that the "schedule+Free/busy" did'nt change because i have some problem with it....
0
 

Author Comment

by:rmailloux
ID: 39237678
Is there a way to verbose the result of the command or to see if it's working ?
0
 
LVL 16

Accepted Solution

by:
ThinkPaper earned 250 total points
ID: 39238122
you should be able to run this command first

$VerbosePreference = Continue

Then run your other powershell commands

http://technet.microsoft.com/en-us/library/hh847796.aspx
0
 

Author Comment

by:rmailloux
ID: 39238132
Tks a lot !
0

Featured Post

Are end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now