Quantcast
Channel: Exchange Server 2013 - General Discussion forum
Viewing all articles
Browse latest Browse all 4521

Exchange 2010 to Office 365 PublicFolderToMailboxMapGenerator.ps1 error when trying to create CSV

$
0
0

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


Viewing all articles
Browse latest Browse all 4521

Trending Articles



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