Check to see if you have more than one public folder in the AD schema. Easiest way is to go to EMC and select Toolbox -> Public Folder Management Console. Then connect to the server. If you try to browse and get error for "Multiple MAPI public folder trees detected" you need to do the following:
- Open ADSI edit and connect to Configuration naming context.
- Copy the name of this context e.g.
CN=Configuration,DC=domain,DC=tld
- Run in cmd the following
LDIFDE -f c:\Config.txt -d "CN=Configuration,DC=domain,DC=tld"
.
This will create a txt file with searchable configuration.
- Search for
msExchPFTreeType
containing value of 1
. These are active PF that may create problems for exchange and old Outlooks.
- Go back to ADSI edit and find the given properties and change them to
0
. This will disable them and allow Public Folder Management Console to display the settings correctly.
After the migration we had 2 PF the one from Exchange 2010 in
CN=Public Folders,CN=Folder Hierarchies,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=BRAVO,CN=Microsoft Exchange,CN=Services,DC=dimain,DC=tld
and one from Exchange 2003 in:
CN=Public Folders,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=dimain,DC=tld
Also if you do not have such error you could check this article to redirect the PF server for the administrative group.
As long as the forest functional level is at least 2003, I would start with the upgrade of exchange from 2003 to 2010. The upgrade of the domain from 2003 to 2008 is relatively simple compared to exchange and any issues you run into won't be compounded by the 2008 DC upgrade complexity. Once the exchange upgrade is complete it will certainly not impact exchange to upgrade.
Best Answer
This will get the deleted item size for all users, sort it and throw it in a table for you:
and if you want to export to csv you need to change the "ft" to "Select-Object"