I recently had a requirement to move all the contents of a document library to another library and anybody that has had the displeasure of having to move files in SharePoint knows what a pain that can be.
To make matters worse, due to the specific setup I was dealing with the ‘Content & Structure’ tool was a non-option as it wasn’t functioning correctly and there were a large number of nested folders in the source library. Luckily this gave me the chance to use one of my favourite power tools – PowerShell.
This article contains a script which will copy all contents of a single library to another library, by using the built-in MoveTo command where possible so no data is lost or by copying if the source and target libraries are in different site collections.
Continue reading “SharePoint 2013 – PowerShell Script to Move all Documents Between Libraries” →
Like this:
Like Loading...