Thangu's Tiny Tool - Migrate files from local or shared drive to a sharepoint document library
Benefits?1. Retain the Created and other impotant information while moving data
2. Allows migration from shared drive to a SharePoint Online library.
Prerequisite: Best to install Microsoft.Online.SharePoint.PowerShell though the code takes care of installing if not exists.
If you are interested in other scripts of mine, ensure you have prerequisites like https://www.microsoft.com/en-in/download/details.aspx?id=35588 and PnP SharePoint. Another Sample PowerShell app demo here https://www.youtube.com/embed/Nt-3rpT0KfA. Give the Folder name which you want to see report.