Download All SharePoint Online Files

You can use this script to download all files in a SharePoint site or even a tenant.  This will get everything, including the layout files and such if you desire.  It relies on the Get-PnpFile cmdlet, so if you don't have the SharePointPnPOnline cmdlets, it will download and in

 
 
 
 
 
(0)
254 times
Add to favorites
Office 365
1/29/2020
E-mail Twitter del.icio.us Digg Facebook
Sign in to ask a question


  • How to replace files with new versions?
    2 Posts | Last post Fri 11:14 PM
    • Hi Aaron, thank you very much for the script! It is the only one I could find that downloads all files from a given Site Collection for SPO. I am trying to use this script daily, and I want any updated files to replace the previous version, but it doesn't seem to be doing that. Is there anywhere in the script you can point me to try and change that behavior?
    • Nevermind, I figured out I was able to use the -Force switch on Get-PNPFile. Thanks again for the great script.