Forum Discussion
Raphael Duck
Nov 14, 2017Copper Contributor
List of Files on Sharepoint O365
Hello,
I have recently encountered a person in my company who created an O365 group, and subsequently a Sharepoint site. He was wondering if there was a way to create a csv or text file that listed the contents(the actual files themselves) of the document library in the share point site. I tried to find some ways online, and nothing really was what I was looking for. Any help anyone could provide would be appreciated.
Thanks!
Do you mean that you want a list of documents within the document library. So the title of the documents and a link to the documents?
You could use PnP PowerShell for this.
https://msdn.microsoft.com/en-us/pnp_powershell/pnp-powershell-overview
6 Replies
Sort By
- Anonymous
The easiest way, without using powershell, is to use PowerBI or PowerQuery in Excel.
From the data source, select "SharePoint Folder" option.
Then enter the name of the site, top level.
When the query returns it will list all files. Done!
- Raphael DuckCopper Contributor
Dude you are a lifesaver. Worked like a charm. Thank you so much!
- AnonymousMy pleasure ... enjoy!
Do you mean that you want a list of documents within the document library. So the title of the documents and a link to the documents?
You could use PnP PowerShell for this.
https://msdn.microsoft.com/en-us/pnp_powershell/pnp-powershell-overview
- Raphael DuckCopper Contributor
Small question, cant seem to get it to work? I have very limited powershell experience, which command sequence would work?
- Pieter is correct, some PowerShell / Code here should do the trick!