CCLCLS
asked on
replicating public folder from exchange 2007 to 2010
i am transitioning from exchange 2007 to 2010. i have moved mailboxes, i can send and recieve email, i have created the public folder database, on the 2007 server i added the 2010 server to replicate with each folder, it won't replicate, nothing appears in the public folder GUI tool. any suggestions?
jsut use the move PF replica script:
moveallreplica.ps1 -server exch2k7 -newserver exch2k10
moveallreplica.ps1 -server exch2k7 -newserver exch2k10
ASKER
when i run it i get the parameter "replicas" cannot be $null or an empty array.
i'm running
moveallreplicas.ps1 -server 2007servername -newserver 2010servername
i'm running
moveallreplicas.ps1 -server 2007servername -newserver 2010servername
Try downloading powergui and corresponding powerpack
http://powergui.org/downloads.jspa
Powerpack for Exchange
http://powergui.org/kbcategory.jspa?categoryID=47
http://powergui.org/downloads.jspa
Powerpack for Exchange
http://powergui.org/kbcategory.jspa?categoryID=47
you need to browse to the scripts folder located in the Exchange installation path and then run the script
ASKER
how do i browse? cd.. doesn't work
when i try to run c:\program files\microsoft\exchange server\scripts\moveallrepl icas it errors out on c:\program is not a recognized cmdlet
when i try to run c:\program files\microsoft\exchange server\scripts\moveallrepl
cd "c:\program files\microsoft\exchange server\scripts\"
ASKER
ok after browsing and running the script from there i get teh same "replicas" cannot be $null or empty? is there a -replicas paramter that needs to added or something?
can you post the exact command you used
ASKER
from
c:\program files\microsoft\exchange server\scripts
i ran
moveallreplicas.ps1 -server temp -newserver mail
c:\program files\microsoft\exchange server\scripts
i ran
moveallreplicas.ps1 -server temp -newserver mail
sorry I mean can you copy and past the exact command and error that comes, copy the hall powershell screen
ASKER
Welcome to the Exchange Management Shell!
Full list of cmdlets: get-command
Only Exchange cmdlets: get-excommand
Cmdlets for a specific role: get-help -role *UM* or *Mailbox*
Get general help: help
Get help for a cmdlet: help <cmdlet-name> or <cmdlet-name> -?
Show quick reference guide: quickref
Exchange team blog: get-exblog
Show full output for a cmd: <cmd> | format-list
Tip of the day #76:
Do you want to see everything that occurs when you run a command? Include the Ve
rbose parameter with the command. This parameter instructs the Exchange Manageme
nt Shell to display detailed information about each action that the server takes
to complete the command. This information can be useful in troubleshooting.
[PS] C:\Windows\System32>MoveAl
The term 'MoveAllReplica.ps1' is not recognized as a cmdlet, function, operable
program, or script file. Verify the term and try again.
At line:1 char:19
+ MoveAllReplica.ps1 <<<< -temp -xmail
[PS] C:\Windows\System32>MoveAl
ValidateParams :
Missing parameter: The -Server parameter is required. Please pass in a valid ma
ilbox server identity
Missing parameter: The -NewServer parameter is required. Please pass in a valid
mailbox server identity
At C:\Program Files\Microsoft\Exchange Server\Scripts\MoveAllRepl
har:32
+ $ifValidParams = ValidateParams; <<<<
[PS] C:\Windows\System32>MoveAl
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
[PS] C:\Windows\System32>moveal
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
[PS] C:\Windows\System32>cd..
The term 'cd..' is not recognized as a cmdlet, function, operable program, or s
cript file. Verify the term and try again.
At line:1 char:4
+ cd.. <<<<
[PS] C:\Windows\System32>cd
[PS] C:\Windows\System32>cd\
The term 'cd\' is not recognized as a cmdlet, function, operable program, or sc
ript file. Verify the term and try again.
At line:1 char:3
+ cd\ <<<<
[PS] C:\Windows\System32>cd..
The term 'cd..' is not recognized as a cmdlet, function, operable program, or s
cript file. Verify the term and try again.
At line:1 char:4
+ cd.. <<<<
[PS] C:\Windows\System32>c:\pro
allreplicas.ps1 -server temp -newserver xmail
The term 'c:\program' is not recognized as a cmdlet, function, operable program
, or script file. Verify the term and try again.
At line:1 char:11
+ c:\program <<<< files\microsoft\exchange server\scripts\moveallrepl
-server temp -newserver xmail
[PS] C:\Windows\System32>"c:\pr
eallreplicas.ps1" -server temp -newserver xmail
You must provide a value expression on the right-hand side of the '-' operator.
At line:1 char:75
+ "c:\program files\microsoft\exchange server\scripts\moveallrepl
<<< erver temp -newserver xmail
[PS] C:\Windows\System32>'c:\pr
eallreplicas.ps1' -server temp -newserver xmail
You must provide a value expression on the right-hand side of the '-' operator.
At line:1 char:75
+ 'c:\program files\microsoft\exchange server\scripts\moveallrepl
<<< erver temp -newserver xmail
[PS] C:\Windows\System32>c:\pro
allreplicas.ps1 -server temp -newserver xmail
The term 'c:\program' is not recognized as a cmdlet, function, operable program
, or script file. Verify the term and try again.
At line:1 char:11
+ c:\program <<<< files\microsoft\exchange server\scripts\moveallrepl
-server temp -newserver xmail
[PS] C:\Windows\System32>cd "c:\program files\microsoft\exchange server\scripts"
[PS] C:\program files\microsoft\exchange server\Scripts>moveallrepl
ver temp -newserver xmail
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
[PS] C:\program files\microsoft\exchange server\Scripts>moveallrepl
ver temp -newserver xmail
the last command looks completed correctly
C:\program files\microsoft\exchange server\Scripts>moveallrepl icas.ps1 -ser
ver temp -newserver xmail
C:\program files\microsoft\exchange server\Scripts>moveallrepl
ver temp -newserver xmail
ASKER
no it was just that the command was visible, it hadn't be run, when you run it you get the replicas not null error
ASKER
does it matter if i do this from the 2007 or the 2010 server?
i have been running it from the 2007 server
i have been running it from the 2007 server
Run it from the 2010 server
post the command and the output
post the command and the output
ASKER
Welcome to the Exchange Management Shell!
Full list of cmdlets: get-command
Only Exchange cmdlets: get-excommand
Cmdlets for a specific role: get-help -role *UM* or *Mailbox*
Get general help: help
Get help for a cmdlet: help <cmdlet-name> or <cmdlet-name> -?
Show quick reference guide: quickref
Exchange team blog: get-exblog
Show full output for a cmd: <cmd> | format-list
Tip of the day #76:
Do you want to see everything that occurs when you run a command? Include the Ve
rbose parameter with the command. This parameter instructs the Exchange Manageme
nt Shell to display detailed information about each action that the server takes
to complete the command. This information can be useful in troubleshooting.
[PS] C:\Windows\System32>MoveAl
The term 'MoveAllReplica.ps1' is not recognized as a cmdlet, function, operable
program, or script file. Verify the term and try again.
At line:1 char:19
+ MoveAllReplica.ps1 <<<< -temp -xmail
[PS] C:\Windows\System32>MoveAl
ValidateParams :
Missing parameter: The -Server parameter is required. Please pass in a valid ma
ilbox server identity
Missing parameter: The -NewServer parameter is required. Please pass in a valid
mailbox server identity
At C:\Program Files\Microsoft\Exchange Server\Scripts\MoveAllRepl
har:32
+ $ifValidParams = ValidateParams; <<<<
[PS] C:\Windows\System32>MoveAl
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
[PS] C:\Windows\System32>moveal
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
[PS] C:\Windows\System32>cd..
The term 'cd..' is not recognized as a cmdlet, function, operable program, or s
cript file. Verify the term and try again.
At line:1 char:4
+ cd.. <<<<
[PS] C:\Windows\System32>cd
[PS] C:\Windows\System32>cd\
The term 'cd\' is not recognized as a cmdlet, function, operable program, or sc
ript file. Verify the term and try again.
At line:1 char:3
+ cd\ <<<<
[PS] C:\Windows\System32>cd..
The term 'cd..' is not recognized as a cmdlet, function, operable program, or s
cript file. Verify the term and try again.
At line:1 char:4
+ cd.. <<<<
[PS] C:\Windows\System32>c:\pro
allreplicas.ps1 -server temp -newserver xmail
The term 'c:\program' is not recognized as a cmdlet, function, operable program
, or script file. Verify the term and try again.
At line:1 char:11
+ c:\program <<<< files\microsoft\exchange server\scripts\moveallrepl
-server temp -newserver xmail
[PS] C:\Windows\System32>"c:\pr
eallreplicas.ps1" -server temp -newserver xmail
You must provide a value expression on the right-hand side of the '-' operator.
At line:1 char:75
+ "c:\program files\microsoft\exchange server\scripts\moveallrepl
<<< erver temp -newserver xmail
[PS] C:\Windows\System32>'c:\pr
eallreplicas.ps1' -server temp -newserver xmail
You must provide a value expression on the right-hand side of the '-' operator.
At line:1 char:75
+ 'c:\program files\microsoft\exchange server\scripts\moveallrepl
<<< erver temp -newserver xmail
[PS] C:\Windows\System32>c:\pro
allreplicas.ps1 -server temp -newserver xmail
The term 'c:\program' is not recognized as a cmdlet, function, operable program
, or script file. Verify the term and try again.
At line:1 char:11
+ c:\program <<<< files\microsoft\exchange server\scripts\moveallrepl
-server temp -newserver xmail
[PS] C:\Windows\System32>cd "c:\program files\microsoft\exchange server\scripts"
[PS] C:\program files\microsoft\exchange server\Scripts>moveallrepl
ver temp -newserver xmail
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
Set-PublicFolder : The parameter "Replicas" cannot be $null or an empty array.
At C:\Program Files\Microsoft\Exchange Server\Scripts\ReplaceRepl
ve.ps1:147 char:24
+ $_ | set-publicfolder <<<< -server $_.OriginatingServer;
[PS] C:\program files\microsoft\exchange server\Scripts>moveallrepl
ver temp -newserver xmail
seemed to run...but i dont have anything in the public folder database GUI tool
wait it will take time to replicate once done it will remove the 2007 server
ASKER
so it's still running even though it looks done?
i have to leave for a few hours so i will check in on it in a couple hours, thanks
i have to leave for a few hours so i will check in on it in a couple hours, thanks
Yes you are correct
ASKER
still nothing. any other suggestions?
Hi
Did you try using PowerGui tool to do this ?
download powergui
http://www.powergui.org/
Install it.
Then download powerpack for Exchange 2007
http://powergui.org/kbcategory.jspa?categoryID=47
Then
Load exchange 2007 powerpack
on the left hand tree there is an option for public folders.
when you select that - the submenu on the right shows you details for public folder replication
check this article also.
http://www.msexchange.org/articles_tutorials/exchange-server-2007/management-administration/managing-exchange-2007-using-powergui-part2.html
Did you try using PowerGui tool to do this ?
download powergui
http://www.powergui.org/
Install it.
Then download powerpack for Exchange 2007
http://powergui.org/kbcategory.jspa?categoryID=47
Then
Load exchange 2007 powerpack
on the left hand tree there is an option for public folders.
when you select that - the submenu on the right shows you details for public folder replication
check this article also.
http://www.msexchange.org/articles_tutorials/exchange-server-2007/management-administration/managing-exchange-2007-using-powergui-part2.html
can you check the queue on Exchange 2007!
ASKER
how do i check the queue?
will try powerpack
will try powerpack
open the EMC and go to troubleshooting and open the queue viewer
ASKER
hub version 14, has 82 items that appear to be waiting in the queue, they all are from publicfolderdatabase@domai n.org....
ASKER
installed power gui, loaded 2007 powerpack, i see public fodlers, but i dont see any detailed replica info
these are the PF items, do you have any smart host configured on the send connector, can you send emails from user on 2007 to 2010
ASKER
all mailboxes have been moved from 2007 to 2010, i dont have any users on the 2007 box. i want to get the PF moved over and then uninstall 2007 and get rid of it.
i tried using smarthost, MX, external DNS...it does seem i can't send the PF messages from 2007 to 2010
i tried using smarthost, MX, external DNS...it does seem i can't send the PF messages from 2007 to 2010
ASKER
how can i verify the connectors are setup for this PF replication to occur between the servers?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Login to outlook in Exchange 2007 and create a PST and then import it to 2010 through outlook.
I have transitioned from Exchange 2003 to 2007 and now 2007 to 2010 and it's the same story. I'm amazed they haven't gotten this right.
ASKER
lame...this added a bunch of time to my transition as i tried everything i could think of to make it work....
http://powergui.org/entry.jspa?externalID=771&categoryID=21
Go down to public folder on the left pane and check the replication options on the right.
Troubleshooting public folder replication
http://blogs.technet.com/b/exchange/archive/2006/01/17/417611.aspx
http://blogs.technet.com/b/exchange/archive/2006/01/19/417737.aspx
http://blogs.technet.com/b/exchange/archive/2006/01/23/417974.aspx