How to set versioning settings for SharePoint list using PowerShell?

How to set versioning settings for SharePoint list using PowerShell?

In this article we will be seeing how to configure versioning settings for SharePoint list using powershell. Go to SharePoint site => Shared Documents => Library Settings => Versioning Settings => you can configure the versioning settings for the document library.

How to set a version limit in PowerShell?

Under general Settings, click Versioning Settings link. From the Versioning Settings page, choose “Create major versions” and for “Keep the following number of major versions” you can set the limit on number of versions. Let’s apply limit on version history for a particular document library using PowerShell.

How to enable major and minor versioning in PowerShell?

To enable major and minor versioning you have to enter the settings of an already created library and follow these steps: 1. Open the list or library 2. Click on the List/Library Tab 3. Under General, Settings choose Versioning Settings 4. Under Document Version History choose option Create major and minor (draft) versions 5. Click Save. Powershell

When to restore a previous version of PowerShell?

* Restore a previous version If we made a mistake in a current version, if the current version is corrupt, or if we simply like a previous version better, we can replace the current version with a previous one. The restored version becomes the new current version.

How to enable versioning on all lists and libraries?

Sure. Here is a script that can do it. Replace $siteURL with your site’s url. http://social.technet.microsoft.com/Forums/en-US/sharepoint2010setup/thread/2d82272d-9aea-453a-b2ae-bf7df55a0304/ The scripts/codes are usually published, so you can adapt them to your needs.

How to configure SharePoint list using PowerShell?

In this article we will be seeing how to configure versioning settings for SharePoint list using powershell. In this article we will be seeing how to configure versioning settings for SharePoint list using powershell.