I have Exchange 2010 (MSG-OLD) with HUB+CAS+MBX roles all in one, which is working fine. I have added a new Exchange 2010 (MSG-NEW) & moved all roles including Mailboxes. However as a precondition for old Exchange server uninstall process, I need to move Public Folder to new server. But it comes out with an error which is mentioned below. Please help me to complete this task. Thanks in advance.
[PS] C:\Windows\system32>.\MoveAllReplicas.ps1 -Server "msg-old" -NewServer "msg-new"
The term '.\MoveAllReplicas.ps1' is not recognized as the name of a cmdlet, function, script file, or operable pro
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:22
+ .\MoveAllReplicas.ps1 <<<< -Server "msg-old" -NewServer "msg-new"
+ CategoryInfo : ObjectNotFound: (.\MoveAllReplicas.ps1:String) , CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException