I'd recommend using SPMT to copy mass files from local server (Home Drive) to OneDrive for Business:
Overview of the SharePoint Migration Tool (SPMT)
https://learn.microsoft.com/en-us/sharepointmigration/introducing-the-sharepoint-migration-tool
It is quite easy to install and use the tool to migrate data. Using PowerShell is over-complicated for this process and this is why the SPMT tool was designed.
---------------------------------------------
If this is helpful please accept answer.