Download All SharePoint Online Files

UPDATE: This script has moved to the PowerShell Gallery.  Any new updates will be posted here: https://www.powershellgallery.com/packages/Download-AllSPOFiles/You can use this script to download all files in a SharePoint site or even a tenant.  This will get everything, including

 
 
 
 
 
(0)
579 times
Add to favorites
Office 365
4/20/2020
E-mail Twitter del.icio.us Digg Facebook
  • How to replace files with new versions?
    2 Posts | Last post January 24, 2020
    • 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.