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 document-library versioning, minor-version, checkout, moderation and draft visibility settings without crawling library content.
Generated locally in your browser · Runs in your PowerShell environment · Review before running
Exports document-library versioning, minor-version, checkout, moderation and draft visibility settings without crawling library content.
Configure Export SharePoint document library versioning settings in the Builder, review the generated PowerShell and run it in your own environment.
Use this report when you need a quick governance or migration inventory of library versioning configuration. It reads list-level settings only, so it stays useful on large libraries without enumerating files or individual versions.
Current PnP.PowerShell releases require PowerShell 7.4 or later. Interactive authentication requires your own Entra application/client ID, or a default client ID configured for PnP.PowerShell. Opselith does not connect to SharePoint or execute the script on your behalf.
Exports document-library versioning, minor-version, checkout, moderation and draft visibility settings without crawling library content. 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. Reads document-library versioning, checkout and moderation configuration from list metadata without enumerating files or versions.
Output: CSV report with SiteUrl, LibraryTitle, LibraryUrl, Id, ItemCount, Hidden, EnableVersioning, EnableMinorVersions, MajorVersionLimit, MajorWithMinorVersionsLimit, ForceCheckout, EnableModeration, DraftVersionVisibility, Status and Error.
This template is available in the free library and is generated locally in your browser.
Exports document-library versioning, minor-version, checkout, moderation and draft visibility settings without crawling library content.
Enter the required values in the Builder, review the generated script and confirm the output before running it.