Forum Discussion
Copy from SP to Teams SP site using Powershell
- Sep 23, 2020
Hi Steve Canvin ,
You can use Copy-PnPFile to copy files and folders between sites collections.
SharePoint site behind a team is a SharePoint team site, so you can use that as a target.
Notice that currently there is a 200MB file size limit per operation.
https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/copy-pnpfile?view=sharepoint-ps&WT.mc_id=M365-MVP-5003860
Hi Steve Canvin ,
You can use Copy-PnPFile to copy files and folders between sites collections.
SharePoint site behind a team is a SharePoint team site, so you can use that as a target.
Notice that currently there is a 200MB file size limit per operation.
https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/copy-pnpfile?view=sharepoint-ps&WT.mc_id=M365-MVP-5003860
Matti Paukkonen Thanks. Im trying to copy a file from one file to anther in the same library for some testing and get:
Copy-PnPFile : File Not Found.
Ive read online that there is a bug with this feature, do you know if this is the case?
- Steve CanvinSep 24, 2020Copper ContributorIgnore - ive sorted this now 🙂 thanks for your help