We help IT Professionals succeed at work.
Get Started

Exchange 2010 to 2013 public folder migration

151 Views
Last Modified: 2016-03-24
I am having issues in a large organization with public folder migration. The issue is that they fail to migrate because of spaces in the "mailnickname" attribute. There are over 5000 folders total so manually removing all the spaces in the names is out of the question. I attempted to use a script to enumerate all of the issues to replace the invalid characters and it fails because of the output is too large. Anyone have some other method to manage the "mailnickname"?

[PS] C:\PFmigration>$pfs= Get-publicfolder "\" -recurse | where {$_.MailEnabled -eq "True"} | Get-MailPublicFolder | whe
re {$_.alias -like `* *' -or $_.alias -like `*,*'}
Sending data to a remote command failed with the following error message: The WinRM client sent a request to the remote
 WS-Management service and got a response saying the request was too large. For more information, see the about_Remote_
Troubleshooting Help topic.
    + CategoryInfo          : OperationStopped: (System.Manageme...pressionSyncJob:PSInvokeExpressionSyncJob) [], PSRe
   motingTransportException
    + FullyQualifiedErrorId : JobFailure

Invoke-Command : Cannot write input as there are no more running pipelines
At C:\Users\exch13\AppData\Roaming\Microsoft\Exchange\RemotePowerShell\mail.xxxxxxxx.local\mail.xxxxxxxx.local.ps
m1:15587 char:29
+             $scriptCmd = { & <<<<  $script:InvokeCommand `
    + CategoryInfo          : InvalidOperation: (:) [Invoke-Command], PSInvalidOperationException
    + FullyQualifiedErrorId : NoMoreInputWrite,Microsoft.PowerShell.Commands.InvokeCommandCommand
Comment
Watch Question
Senior advisor
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 3 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE