Move public folder data to Exchange 2010
Public folders are an optional feature in Exchange 2010. If all client computers in your organization are running Microsoft Office Outlook 2007 or later, then public folders are an optional feature. However, if Outlook 2003 clients are in use, then public folders are required. In addition, if you're currently using public folders for collecting, organizing, or sharing documents and other information and you want to continue doing so, you can use public folder replication to move your public folder data to Exchange 2010.
Learn more at: Understanding Public Folder Replication 28
How do I do this?
You can use the Exchange Management Console to perform this task.
- In the Console tree, click Toolbox.
- In the Result pane, double-click Public Folder Management Console. The Public Folder Management Console appears.
- In the public folder tree, click or expand Default Public Folders, and then select the parent public folder of the public folder that you want to move to Exchange 2010.
Note:
To configure replication for the offline address book (OAB) or for Schedule+ free/ busy information, expand System Public Folders, and then click OFFLINE ADDRESS BOOK or SCHEDULE+ FREE BUSY.
- In the Result pane, right-click the public folder you want to replicate to Exchange 2010 and select Properties.
- On the Replication tab, click Add to select an Exchange 2010 public folder database and then click OK.
- By default, Exchange uses the replication schedule configured for the public folder database. To create a custom replication schedule for the public folder, clear the Use public folder database replication schedule check box and select one of the settings in the list.
- To create a customized schedule, click Customize.
- To set the schedule, click the time grid in the Schedule dialog box. Public folder replication will run during the time slots that you specify.
- Click OK to close the Schedule dialog box.
- To specify the age limit for items in this public folder, type the number of days in the Local replica age limit (days) box. Items that have reached the age limit are deleted.
Note:
Age limits should be used for public folders only. They should not be used for System Folders, such as OFFLINE ADDRESS BOOK or SCHEDULE+ FREE BUSY.
- Click OK to close the Properties dialog and to save your changes.
- Repeat Steps 4-11 for each public folder you want to move to Exchange 2010.
How do I know this worked?
You can use the Get-PublicFolder cmdlet in the Exchange Management Shell to verify replicas on the Exchange 2010 public folder database. For example, to determine the replicas for all public folders in the public folder tree, run the following command:
Get-PublicFolder -Recurse | Format-List Name,Replicas
To determine the replicas for all system folders, run the following command:
Get-PublicFolder \NON_IPM_SUBTREE | Format-List Name,Replicas 29
Learn more about the cmdlet at: Get-PublicFolder
Visit Link : http://technet.microsoft.com/en-us/exdeploy2010/default.aspx#DeploymentCheckList/ee958313/2007
Does Get-MailboxStatistics user | ft DeletedItemCount, TotalDeletedItemSize
show you anything different (just out of curiosity really)?
As for reasons why you get this output, I have found there is a slight delay on the Get-MailboxStatistics
and Get-MailboxFolderStatistics
cmdlets so they might show stale data for a few minutes, but I am assuming because you've asked here that it's been longer than a few minutes.
Logical mailbox corruption is certainly possible, and Exchange provides a cmdlet to run a check on a mailbox. When you run this command it will disrupt the mailbox, so either do it while the user is not around or let them know their mailbox will be offline for a while.
Issue the command New-MailboxRepairRequest -Mailbox user -CorruptionType SearchFolder,AggregateCounts,ProvisionedFolder,FolderView -DetectOnly
to run a check for logical mailbox corruption. If the cmdlet reports corruption, you can take out the -DetectOnly
parameter to actually perform a mailbox repair. Please note that this is potentially a destructive operation (i.e it may delete items which are corrupted) so for good measures, you should always have a known good mailbox database backup handy just in case.
Best Answer
I don't think you can use the powershell to target an export to the original mailbox. However, you can use the query to export item to an admin account then delete from the source account.
You should be creating a retention policy, and apply them to users if you want to archive them to delete item folder
Create a Retention Policy (https://technet.microsoft.com/en-us/library/ff625224(v=exchg.141).aspx)
Apply a Retention Policy to Mailboxes (https://technet.microsoft.com/en-us/library/dd298052(v=exchg.141).aspx)
If you are interested in exporting them and remove it from the user's mailbox. You can use the following
Get-mailbox -Identity myuser | Search-mailbox -searchQuery received:<1/1/2014 -TargetMailbox "Admin" -TargetFolder "Backup" -DeleteContent