I very much enjoyed sharing some insights and live demos for migrations to Microsoft 365 during the Collabdays BeNeLux 2020 virtual event.

As a follow-up, I started a repo to publish sample PowerShell scripts that might be useful to accelerate migration solutions.

Some of the scripts shown during the event were uploaded for sharing purposes.

Have a look at https://github.com/wortell/DataMigrationFactory

The first 2 scripts cover setting up certificate based App-authentication using PnP PowerShell cmdlets and comparing files and folders between a source file share and SharePoint Online site.