SharePoint Online: Set Versioning Limit using PowerShell

Requirement: Set version history limit in SharePoint Online document library. How to Configure Version History Limits in SharePoint Online? By default, any document library created in SharePoint Online is enabled with a version history limit of 500. However, there may be times when you need to increase or decrease the limit on…

Read more

SharePoint Online: PowerShell to Disable Versioning

Requirement: Disable Versioning in SharePoint Online using PowerShell How to Disable Versioning in SharePoint Online? The versioning feature in SharePoint Online creates a copy of items when someone changes a document so that we can track every change to the document and revert to the old version if needed. Although it’s a…

Read more

SharePoint Online: Download All Versions of a Document using PowerShell

Requirement: Download All Versions of a Document in SharePoint Online using PowerShell SharePoint Online: PowerShell to Download All Versions of a Document Version history in SharePoint Online lets you store, track, and restore files in a library as they are changed. There are times you may need to download all previous versions…

Read more

SharePoint Online: Delete Version History using PnP PowerShell

Requirement: Delete version history in SharePoint Online. How to Delete Versions in SharePoint Online? If you’ve been managing SharePoint Online for any time, you know that keeping your environment clean and organized is essential. One such way to clean it up is by deleting older versions of documents and files, as old…

Read more

SharePoint Online: Export List Version History to Excel using PowerShell

Requirement: Export all versions of SharePoint Online List Items to CSV (Excel) file. PowerShell to Extract and Export List Item’s Version History to CSV File: As an administrator, there may be occasions when you need to export a SharePoint Online list version history to Excel for further analysis. We can export the…

Read more

Compare SharePoint List Item Version History using PowerShell

Requirement: Compare version history data of SharePoint List items and update a metadata column based on a particular field’s value change. A bit of background: We have a project tracking list with the “Status” column. We wanted to have an insight on when a particular item’s status was set to “Rejected”. PowerShell…

Read more

SharePoint Online: How to Enable Versioning on a Document Library using PowerShell?

What is versioning in SharePoint Online? The version history feature in SharePoint Online tracks every change to the document and creates a copy of it when someone changes a document. Once you enable versioning settings for a List or Library, Versioning features are turned ON, and all changes will be tracked. Site…

Read more

SharePoint Online: Version History Report using PowerShell

Requirement: Generate version history report for all sites in a SharePoint site collection. SharePoint Online PowerShell to Get Version History Details of a Document Library Version history feature in SharePoint Online maintains a history of all changes made to any file or list item. When multiple users are working on a document,…

Read more

SharePoint Online: Versioning Analysis on All Lists and Libraries using PowerShell

Requirement: Audit versioning settings for all lists and libraries in SharePoint Online site collection. PowerShell to Generate Versioning Settings Analysis for SharePoint Online Site Collection: Looking for a way to audit versioning on all lists and libraries in your SharePoint Online environment? PowerShell can help! In this post, we’ll take a look…

Read more

SharePoint Online: Restore the Previous Version of a Document using PowerShell

Requirement: Restore the previous version of a document in SharePoint Online. How to Restore a previous version of a document or Item in SharePoint Online? When you restore a previous version of a list item or document, that version becomes the current version. You may want to restore a previous version when…

Read more