What it works with
Module: PnP.PowerShell
Context: PowerShell 7.4+ · SharePoint Online · PnP.PowerShell
Compatibility: PowerShell 7.4+ is required by current PnP.PowerShell releases.
Exports SharePoint non-document-list inventory and item counts using list metadata, avoiding an unsafe full-item crawl just to calculate counts.
Generated locally in your browser · Runs in your PowerShell environment · Review before running
Exports SharePoint non-document-list inventory and item counts using list metadata, avoiding an unsafe full-item crawl just to calculate counts.
Configure Export SharePoint list inventory and item counts in the Builder, review the generated PowerShell and run it in your own environment.
Inventories non-document-library lists and their metadata counts across selected sites. Document libraries belong to the separate document-library inventory.
Current PnP.PowerShell releases require PowerShell 7.4 or later. Interactive authentication requires your own Entra application/client ID, or a default client ID that you have configured for PnP.PowerShell. Opselith does not connect to SharePoint or run the script on your behalf.
Exports SharePoint non-document-list inventory and item counts using list metadata, avoiding an unsafe full-item crawl just to calculate counts. Review these details before generating or running the script.
Module: PnP.PowerShell
Context: PowerShell 7.4+ · SharePoint Online · PnP.PowerShell
Compatibility: PowerShell 7.4+ is required by current PnP.PowerShell releases.
Permissions: AllSites.Read
Risk: Low
Execution impact: Read-only. The script reads non-document-library list metadata and count properties and does not load or change list items.
Output: CSV report with SiteUrl, ListTitle, ListUrl, Id, BaseType, BaseTemplate, ItemCount, Hidden, ContentTypesEnabled, Status and Error.
This template is available in the free library and is generated locally in your browser.
Exports SharePoint non-document-list inventory and item counts using list metadata, avoiding an unsafe full-item crawl just to calculate counts.
Enter the required values in the Builder, review the generated script and confirm the output before running it.