Create Library or Folders Through PowerShell
Ability to create a standard document library or folder through PowerShell

-
Popkornak commented
Create the folder structure before the whole migration, Resolve-PNPFolder has limits - 64000 library items, I found the hard way.
-
Maxime Ouellet commented
i will check if the new version of migration tool offer in the Microsoft 365 portal for free can do it
if it does it, ...
-
bennett.giesler commented
The workaround is to use SharePointPnPPowerShellOnline module using the Resolve-PnPFolder function. Put a try/catch around the ShareGate Copy-Content command and then this will auto create the folder.
-
Tony commented
Would be really useful, especially since if you were using Copy Content via an Excel Import it would create any folders that are mapped.
-
Douglas Punchak commented
1. If PowerShell had a switch\property for "-CreateDestinationFolder" when doing a "Copy-To" migration, to create the destination folder path if it doesn't exist would be fantastic. I find myself having to create the folders manually first then using the PowerShell commands.
2. Alternately, if there was a "Create-Folder" command-let within ShareGate instead of needing to incorporate the SharePoint Online Management Shell that would be good too. -
Wesley Kirkland commented
Adding my vote for this, it's crucial for us to have this capability.
-
Brandon Hall commented
We are in the process of migrating from one OneDrive for Business tenant to another. We would like to take the content from site A and copy it to Site B under a new folder in a given users documents folder.
We would like for ShareGate Desktop to create this folder for us as part of the migration
-
Mathieu Delisle commented
I would like to be able to create folders within Sharegate before starting a migration (right click, create folder) and then, apply permissions on it to match the source material.
-
Stephanie Pelland commented
During the import, being able to convert folders in lists, attached content type and do all the mappings