We are migrating many hundreds of intranet sates to SharePoint Online. We have found that we need an initial Master Page Gallery migration followed by a full content migration for each site. We are now a the point where we wish to script the migration in PowerShell. We generate the PS1 for same user and machine, which we have done before. We make the appropriate changes in the source and target URL's in the script and run it. We get the attached error. See attached for full but it says... "The source of the copy is null, please initialize a proper source node."
The source is present. The Content Matrix console connects to the source on the same box but the PS1 can't see it???
Any help appreciated. See attachment.