Search This Blog

Sunday, January 24, 2016

migrating Exchange 2010 public folder to Exchange 2013

migrating Exchange 2010 public folder to Exchange 2013

here are a few good links

http://msexchangeguru.com/2013/04/18/exchange2013-public-folders/

http://exchangeserverpro.com/exchange-server-2010-2013-migration-moving-public-folders/

http://188.226.161.108/KB/Article/0000789

key points
-- quote from various source ---
----
 Get-OrganizationConfig | fl PublicFoldersLockedforMigration, PublicFolderMigrationComplete

 Set-OrganizationConfig -PublicFoldersLockedforMigration:$false -PublicFolderMigrationComplete:$false 

   New-Mailbox -PublicFolder MailboxName -HoldForMigration:$true –Database “2013DB”


 Set-Mailbox  –PublicFolder –IsExcludedFromServingHierarchy:$True


“New-PublicFolderMigrationRequest -SourceDatabase (Get-PublicFolderDatabase -Server ) -CSVData (Get-Content -Encoding Byte)”
Example: New-PublicFolderMigrationRequest -SourceDatabase (Get-PublicFolderDatabase -Server Exch2010) -CSVData (Get-Content C:tempMapgen.csv -Encoding Byte)

 Get-PublicFolderMigrationRequest | Get-PublicFolderMigrationRequestStatistics -IncludeReport | fl

    Set-OrganizationConfig –PublicFoldersLockedForMigration:$true

Set-PublicFolderMigrationRequest –Identity PublicFolderMigration -PreventCompletion:$false


 Set-Mailbox  –PublicFolder –IsExcludedFromServingHierarchy:$False” 

---- my personal experience ----
the migration will show autosuspended at 95%

in this case , need lock the source, allow complete and resume 

also make sure 


PS] C:\PF-Import-file>Set-PublicFolderMigrationRequest -Identity \PublicFolderMigration -PreventCompletion:$false
[PS] C:\PF-Import-file>Resume-PublicFolderMigrationRequest -Identity \PublicFolderMigration
[PS] C:\PF-Import-file>Get-PublicFolderMigrationRequest | Get-PublicFolderMigrationRequestStatistics

Name                                   StatusDetail              SourceDatabase                        PercentComplete
----                                   ------------              --------------                        ---------------
PublicFolderMigration                  Completed                 MKS2012PUB                            100


[PS] C:\PF-Import-file>
[PS] C:\PF-Import-file>Get-PublicFolderMigrationRequest | Get-PublicFolderMigrationRequestStatistics

Name                                   StatusDetail              SourceDatabase                        PercentComplete
----                                   ------------              --------------                        ---------------
PublicFolderMigration                  Completed                 MKS2012PUB                            100


[PS] C:\PF-Import-file>Set-Mailbox PF-mailbox -PublicFolder -IsExcludedFromServingHierarchy:$False
WARNING: The command completed successfully but no settings of 'yang11.homeip.net/Users/PF-Mailbox' have been modified.
[PS] C:\PF-Import-file>


do not mix with the cmd below

Resume-PublicFolderMailboxMigrationRequest -Identity \PublicFolderMigraion

which is wrong, not mailbox, publicfolder only

No comments:

Post a Comment