Today I am providing the Power Shell Script that will download all the documents of all the Libraries under each sites/site collections/web application in to your file system. It is useful if you want to take backup of SharePoint in current SharePoint farm where the script will be executed.
Script will accept the reports file path where it will create the folder and download the files there -
Inputs - Following are the Input for the script.
Report File Path - Path for saving the files.
Outputs -
Following output files will be generated on provided Report File Path, with their respective name and under the folder structure of the site.
Dependencies -
For executing this script user must be added in site collection administrators in all the sites.
User should have Shell Admin rights to run the scripts.
Run Management Shell as an Administrator.
How to execute -
Copy this script and paste in Note pad.
Save this file as .ps1.
Run this script in SharePoint Management Shell.
Follow on screen instructions.
https://drive.google.com/file/d/0BznVpoE_ln0ARjRGXzZfWHBYdDA/view?usp=sharing
Go to above link to get the script.
No comments:
Post a Comment