{"id":20650109,"url":"https://github.com/zerg00s/spo-documents-report","last_synced_at":"2025-07-05T11:36:17.834Z","repository":{"id":122053031,"uuid":"480168463","full_name":"Zerg00s/spo-documents-report","owner":"Zerg00s","description":"Produces a CSV report that lists all documents on a SharePoint Online site","archived":false,"fork":false,"pushed_at":"2022-05-03T13:44:01.000Z","size":13936,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T21:36:41.361Z","etag":null,"topics":["administration","files","pnp","powershell","reporting","sharepoint","sharepointonline"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zerg00s.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-10T23:46:24.000Z","updated_at":"2024-02-19T16:56:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"59b7f191-b4ec-4585-b0e9-5e37be3bb9df","html_url":"https://github.com/Zerg00s/spo-documents-report","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Zerg00s/spo-documents-report","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zerg00s%2Fspo-documents-report","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zerg00s%2Fspo-documents-report/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zerg00s%2Fspo-documents-report/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zerg00s%2Fspo-documents-report/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zerg00s","download_url":"https://codeload.github.com/Zerg00s/spo-documents-report/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zerg00s%2Fspo-documents-report/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260398858,"owners_count":23003068,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["administration","files","pnp","powershell","reporting","sharepoint","sharepointonline"],"created_at":"2024-11-16T17:18:01.958Z","updated_at":"2025-07-05T11:36:17.828Z","avatar_url":"https://github.com/Zerg00s.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](IMG/Welcome.png)\n# SPO Documents Report\nSPO Documents Report is a script that generates a CSV file that lists all files in a target site.\n\n## Limitations\n- The report does not include subsites.\n- The report can only targe one site at a time.\n\n## Prepare workstation\nBefore 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.\n\n- Launch a new PowerShell window:\n![](IMG/PowerShell.png)\n\n- Run the following PowerShell command to allow running scripts:\n\n```\nSet-ExecutionPolicy -Scope CurrentUser Unrestricted\n```\n\nInstall Pnp.PowerShell:\n```\nInstall-module Pnp.PowerShell -Scope CurrentUser\n```\n\n- Download the [latest release](https://github.com/Zerg00s/spo-documents-report/releases).\n- Unzip the folder and confirm the contents.\n- Run `Gen-DocumentsReport.bat` file by double-clicking it:\n\n![](IMG/Files.png)\n\n- Provide a SharePoint site URL that will be scanned\n![](IMG/Example.png)\n- Click OK.\n- Login to the SharePoint Online Site\n- After the script is done, a CSV file will be created in the script folder:\n\n![](IMG/Sample.png)\n\n\n## Can I run the script multiple times?\nYou 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerg00s%2Fspo-documents-report","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzerg00s%2Fspo-documents-report","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzerg00s%2Fspo-documents-report/lists"}