Skip to content

Add SharePoint Online site inventory report sample - #974

Open
a-villarruel wants to merge 1 commit into
pnp:mainfrom
a-villarruel:main
Open

Add SharePoint Online site inventory report sample#974
a-villarruel wants to merge 1 commit into
pnp:mainfrom
a-villarruel:main

Conversation

@a-villarruel

Copy link
Copy Markdown

Summary

This pull request adds a new PnP PowerShell sample to generate a SharePoint Online site inventory report.

The script connects to a SharePoint Online site and exports key inventory information to a CSV file, including:

  • Site title
  • Site URL
  • Site template
  • Site creation date
  • Total number of lists
  • Number of document libraries
  • Report generation date

The generated report can help administrators and project teams with SharePoint documentation, governance activities, and environment assessments.

Scenario

SharePoint administrators and project teams often need a quick overview of existing sites for documentation or governance purposes.

This sample provides a lightweight way to collect basic site information using PnP PowerShell.

Implementation

The sample includes:

  • A PowerShell script using PnP PowerShell
  • README documentation
  • Example output screenshot
  • Sample metadata file for gallery publishing

Testing

The script was tested using PnP PowerShell and successfully generated the CSV inventory report.

Checklist

  • Script follows repository folder naming conventions
  • README.md included
  • Example screenshot included
  • No tenant-specific information included
  • No credentials or sensitive information included

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant