Closed virtuetechrocklin closed 3 years ago
Here's an example of how I've been using move-pnpfile
Move-PnPFile -SourceUrl “city/Shared Documents/folder1” -TargetUrl "/sites/PrivateCloud/Projects”
@virtuetechrocklin - When creating an issue, DO NOT delete the template. Please fill the below:
Please confirm what it is that your reporting
Please describe what output you expect to see from the PnP PowerShell Cmdlets
Please describe what you see instead. Please provide samples of output or screenshots.
Please include complete script or code samples in-line or linked from gists
(you can retrieve this by executing Get-Module -Name "PnP.PowerShell" -ListAvailable
)
Closing as no response.
I've been working on a project to re-arrange a clients folder structure in O365 Sharepoint. I've been using move-pnpfile. Overall it works great for smaller folders i.e. sub 100mb. Above that it tends to leave empty folders behind on the -sourceURL. It also leaves OneNote Notebooks behind in the -SourceURL and they don't get moved to the -TargetURL pretty much regardless of the folder storage size.