Question

I have a task to enable the 'Require Check Out' feature on each document library on all sites we have. See the picture below:

enter image description here

There are about 20 sites in our site collection and each site has only one document library where I need to enable the feature. Is there any bulk option to change the feature for all libraries at once?

Thanks.

Was it helpful?

Solution

You can easily do it with PowerShell script.It is having attribute $list.ForceCheckout = $true

for more reference you can refer this Change SharePoint list settings using PowerShell - Part 1: General and Versioning

Please let me know if it help you.

Thanks

OTHER TIPS

You can use below PowerShell command to set Require Check Out feature on each document library on all sites

    foreach ($web in (Get-SPSite -Limit All | Get-SPWeb -Limit All))
         {
            Write-Host “Processing Web: $($web.Url)…”
            foreach ($list in ($web.Lists | ? {$_ -is [Microsoft.SharePoint.SPDocumentLibrary]}))
            {
    $list.ForceCheckout = $true;
    $list.Update();

   }
Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top