Hello,
In a test environment, I am doing a test run of migrating to Exchange 2013 from Exchange 2007 using virtual machines. I have restored our live server to a virtual machine (using StorageCraft ShadowProtect).
Background info:
Virtual machine - SBS 2008 with Exchange 2007 SP3 Rollup 21 (also the AD domain server)
Virtual machine - 2012R2 with Exchange 2013 CU 14 (purely just Exchange 2013 roles, no DNS role etc.)
I have problem with a particular public folder script:
Following the below page for batch migration of public folders:
https://technet.microsoft.com/en-us/library/dn912663(v=exchg.150)
At “Step 3: Generate the .csv files” 1.
So, running “Export-PublicFolderStatistics.ps1” on the Exchange 2007 server, I get the same error repeatedly as the script is running (presumably for each folder) and the result is the .csv generated gives every folder the same name “\IPM_SUBTREE”.
I understand this error is basically saying there is no folder name, therefore it can’t be converted to a String. Obviously, the folders do have names though.
The repeated error is:
“
You cannot call a method on a null-valued expression.
At C:\pfmigration\Export-PublicFolderStatistics.ps1:193 char:88
+ $ipmSubtreeFolderList | %{ $script:IdToNameMap.Add($_.EntryId, $_.MapiIdentit
y.ToString <<<< ()) };
+ CategoryInfo : InvalidOperation: (ToString:String) [], RuntimeE
xception
+ FullyQualifiedErrorId : InvokeMethodOnNull
“
Any help/direction would be very much appreciated. Please let me know if I have missed any key details that you need.
Aside: I’m having another problem, one with Outlook auto setup – I haven’t posted here, but subject is “Exchange 2007 to Exchange 2013 migration Outlook auto setup problem”
Any help gratefully received.
Thanks,
Graham