An open API service indexing awesome lists of open source software.

https://github.com/zerg00s/spo-documents-report

Produces a CSV report that lists all documents on a SharePoint Online site
https://github.com/zerg00s/spo-documents-report

administration files pnp powershell reporting sharepoint sharepointonline

Last synced: 12 months ago
JSON representation

Produces a CSV report that lists all documents on a SharePoint Online site

Awesome Lists containing this project

README

          

![](IMG/Welcome.png)
# SPO Documents Report
SPO Documents Report is a script that generates a CSV file that lists all files in a target site.

## Limitations
- The report does not include subsites.
- The report can only targe one site at a time.

## Prepare workstation
Before you begin, make sure you are running this script on a modern machine with Windows 10 or later. This script is not tested against older operating systems.

- Launch a new PowerShell window:
![](IMG/PowerShell.png)

- Run the following PowerShell command to allow running scripts:

```
Set-ExecutionPolicy -Scope CurrentUser Unrestricted
```

Install Pnp.PowerShell:
```
Install-module Pnp.PowerShell -Scope CurrentUser
```

- Download the [latest release](https://github.com/Zerg00s/spo-documents-report/releases).
- Unzip the folder and confirm the contents.
- Run `Gen-DocumentsReport.bat` file by double-clicking it:

![](IMG/Files.png)

- Provide a SharePoint site URL that will be scanned
![](IMG/Example.png)
- Click OK.
- Login to the SharePoint Online Site
- After the script is done, a CSV file will be created in the script folder:

![](IMG/Sample.png)

## Can I run the script multiple times?
You can run the script multiple times. Every time you run it, a new CSV file will be created with a name of a site you target.