Quantcast
Channel: Exchange Server 2013 - Setup, Deployment, Updates, and Migration forum
Viewing all articles
Browse latest Browse all 7129

move public folders

$
0
0
On Exchange 2007 i ran the below commands


Get-PublicFolder -Recurse | Export-CliXML C:\PFMigration\Legacy_PFStructure.xml

Get-PublicFolderStatistics | Export-CliXML C:\PFMigration\Legacy_PFStatistics.xml

Get-PublicFolder -Recurse | Get-PublicFolderClientPermission | Select-Object Identity,User -ExpandProperty AccessRights | Export-CliXML
 C:\PFMigration\Legacy_PFPerms.xml

Get-PublicFolderDatabase | ForEach {Get-PublicFolderStatistics -Server $_.Server | Where {$_.Name -like "*\*"}}

Get-OrganizationConfig | Format-List PublicFoldersLockedforMigration, PublicFolderMigrationComplete
WARNING: Display Name of the Exchange Recipient object should be Microsoft Exchange. Run Set-OrganizationConfig with no parameters to correct the Display Name
value.


PublicFoldersLockedForMigration : False
PublicFolderMigrationComplete   : False

cd .\PFScripts
C:\PFScripts>.\Export-PublicFolderStatistics.ps1 PFStat.csv mail.mydomain.com  (mail.mydomain.com is my exchange 2007 server)
Enumerating folders under NON_IPM_SUBTREE...
Enumerating folders under NON_IPM_SUBTREE completed...24 folders found.
Retrieving statistics from server MAIL
Retrieving statistics from server MAIL complete...2 folders found.
Total unique folders found : 2.
Exporting statistics for 2 folders
Exporting folders to a CSV file


The result for the csv file is 
FolderName,"FolderSize"
\IPM_SUBTREE,"0"
\IPM_SUBTREE\Internet Newsgroups,"0"
\NON_IPM_SUBTREE,"0"
\NON_IPM_SUBTREE\EFORMS REGISTRY,"0"
\NON_IPM_SUBTREE\schema-root\microsoft\exchangeV1,"369097"

On my exchange 2013 

PS] C:\PFScripts>.\PublicFolderToMailboxMapGenerator.ps1 1GB PFStat.csv FolderToMailbox.csv
Reading public folder list...
Loading folder hierarchy...
Allocating folders to mailboxes...
Trying to accomodate folders with their parent...
Exporting folder mapping...

The results of the CSV are 
TargetMailbox,"FolderPath"
Mailbox1,"\"


On my exchange 2013 i have two database
one is default Mailbox database 1460777952 and other one is ExchangeDB01 which i have created where my mailboxes reside.

From here should i create a new databse for public folders or should i use ExchangeDB01

please do check the below commands for the syntax
New-Mailbox -PublicFolder Mailbox1 –Database ExchangeDB01 –HoldForMigration: $true

New-PublicFolderMigrationRequest -SourceDatabase (Get-PublicFolderDatabase -Server mail.mydomain.com) -CSVData (Get-Content FolderToMailbox.csv -Encoding Byte)
where mail.mydomain.com is my exchange 2007


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>