Specify URL and Title of site or list in a PowerShell migration
Rename and modify URL/Name of site or list in a PowerShell migration
Greetings from Sharegate!
Today we released Sharegate 8.0! The Copy-Site and Copy-List commands now support renaming the title and URL of the site or list. Here’s the documentation :
Don’t forget to leave us your feedback!
Anjali Sharma commented
Any response on whether this is possible? I have a requirement to copy a list structure within the same site and while doing it in UI is an option, it takes very long and would be nice if I could use PowerShell. But I don't see an option to specify the destination name of the list.
ShareGate being the tool of choice for any SharePoint reorganisation of sites and content, this possibility would be greatly appreciated as else everything has to be done in the UI, making the process take a loooong time...
This is on the mid-term roadmap but there is no date fixed yet.
Note however that list URL changes in SharePoint are only possible within the same site. This feature would not allow to move a list to another site.
Marc Schaaks commented
I have exactly the same requirement as Mart. SharePoint online modern sites do not accommodate more than root level sites well regarding site navigation. As a workaround we flatten multiple lists of the same type and relative address from different sub sites to one and the same site. We really need to be able to do that using Powershell to be able to perform this task in bulk.
Mathieu Delisle commented
Currently, it's not possible to rename a site or a sub site while using the Copy-Site command. I have to do it using the Sharegate interface. I'd like to have the same option in PowerShell
Yessica Vazquez commented
This would be very helpful when copying multiple sites. It would be nice to rename or modify the URL of those sites using powershell.
Mart Bakirov (ignia) commented
We are migrating sp2010 into O365 and we are asked to consolidate some lists and subsites into one site.
So ti put it simple
that should be migrated to the same target site like
I had about 3 subsites with 10 same lists on each. The workaround I am using now is to create the target list manually and then copy—content instead of copy-list. But this does not copy custom columns/views/permission and anything else I have in the source lists.
I know there is an UI option to change URL and name of the target list, but this is missing in the powershell.
We have about 20 more big chunks of migration work and this situation happens quite often.
If at least the powershell option for the copy-list command could be added? Target-list-name and/or target-list-url?
most frustrating thing is that it is already supported in UI but we really need it in the powershell as we want to have a scripted and documented approach.