I trying to find a way to export files for different document library depending on notepad list provided. All document library URL are in the notepad.

Need this in powershell


As the URLs are in the notepad, you can use Get-Content to read the content. Are you using SharePoint Online or on-premise? For SharePoint Online, you can try script here.

For On-Prem version, you can take a look at this:https://techtrainingnotes.blogspot.com/2014/02/download-file-from-sharepoint-using.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.