Powershell to download files from SharePoint

I’ve been having issues creating a script to download files from SharePoint. I create a public site for anyone with the link, then us the Invoke-WebRequest to download the file. The issue is that it only downloads the web page hosting the file and not the file itself. Any advice would be greatly appreciated!

submitted by /u/Lassib
[link] [comments]

Leave a Reply