Hi,
I'm running through the process outlined here: https://technet.microsoft.com/en-AU/library/dn874017(v=exchg.150).aspx
I've generated the CSV in "Step 3: Generate the .csv files":
You cannot call a method on a null-valued expression.
At C:\temp\PublicFolderToMailboxMapGenerator.ps1:67 char:35
+ ... lyMember in $folder.FolderName.Split('\', [System.StringSplitOptions] ...
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : InvokeMethodOnNull
The command I'm running is:
.\PublicFolderToMailboxMapGenerator.ps1 16106127360 C:\Temp\PublicFolders.csv C:\Temp\PublicFolderMailboxes.csv
I've tried UNC paths, with quotation marks (around the paths) and without quotation marks, but I cannot seem to work out why this is happening.
If anyone can point me in the right direction, I'd be very appreciative.
Thanks in advance,
Lee