Solved

rename exchange2003 alias

Posted on 2013-06-11
5
249 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Tks a lot !
0

Featured Post

Integrate social media with email signatures

Is your company active on social media? Do you also use email signatures? Including social media icons in your email signature is a great way to get fans for free. Let all your email users know you’re on social media quickly and easily, in a single click.

Join & Write a Comment

Utilizing an array to gracefully append to a list of EmailAddresses
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
In this video we show how to create an Address List 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 Organization >> Ad…
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…

743 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

12 Experts available now in Live!

Get 1:1 Help Now