Issue with mail Enabled Public Folders after Migrating from exch2003 to exhange 2010

I have moved all public folders from exchange 2003 to exchange 2010.  Since doing so, If I open the Public Folder Management Console, and click on the properties of an Mail enabled public folder, I get the following error when I click on some of the tabs of the folder:

This is the error:

The properties on this object have invalid data. If you click OK, default values will be used instead and will be saved if you do not change them before hitting Apply or OK on the properties page.  if you click cancel, the object will be displayed read-only and corrupted values will be retained

The public folders seem to be working fine.  I can send mail to them fine.  Any ideas on why I am getting this message.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Most likely it is because of spaces in the public folders aliases.  Exchange 2007/2010 do not support spaces in the aliases.

denver218Author Commented:
Thanks.  This document seems to be for Mailboxes not public folders.  Would public folders be done the same way?
denver218Author Commented:
Lets say I have a public folder called "Human Resources"  There is a space in the Alias name, which is why I am getting this error.

Can you provice be an example of the syntax to change this via the exchange management shell?  What I am typing in isn't working for some reason.  Thanks.
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Actually the issue applies to all mail-enabled entities (mailboxes and public folders alike).

Try using:
Get-PublicFolder | Where {$_.Alias -like "* *"} | ForEach-Object {Set-PublicFolder $_.Name -Alias:($_.Alias -Replace " ","")}

Open in new window



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
denver218Author Commented:
Where do I specify the public folder name or does the above command do it for all public foldes?  Thanks.
The above command does it for all public folders...

If you want more reporting during the process, you can check this previous question on EE.  It has a few versions of the same script.  You'll need to save it as a ps1 file.

denver218Author Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.