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 an efficient inventory of modern SharePoint Site Pages using the documented all-pages mode without refetching every page for full contents.
Generated locally in your browser · Runs in your PowerShell environment · Review before running
Exports an efficient inventory of modern SharePoint Site Pages using the documented all-pages mode without refetching every page for full contents.
Configure Export modern SharePoint pages inventory in the Builder, review the generated PowerShell and run it in your own environment.
Retrieves all modern pages once per selected site. The official PnP documentation states this mode returns fewer details and requires SharePoint Online Administrator permissions; Opselith does not add a slower per-page refetch by default.
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 an efficient inventory of modern SharePoint Site Pages using the documented all-pages mode without refetching every page for full contents. 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 · SharePoint Administrator
Risk: Low
Execution impact: Read-only. The script reads the all-pages Site Pages inventory for each selected site and does not publish, edit or download page content.
Output: CSV report with SiteUrl, PageName, Title, PageType, LayoutType, PromotedState, Created, Modified, Author, Editor, Status and Error where those properties are returned by the all-pages response.
This template is available in the free library and is generated locally in your browser.
Exports an efficient inventory of modern SharePoint Site Pages using the documented all-pages mode without refetching every page for full contents.
Enter the required values in the Builder, review the generated script and confirm the output before running it.