Tag Info

Hot answers tagged

3

$web = Get-SPWeb -Identity http://sp2010 $list = $web.Lists["Documents"] $items = $list.Items foreach ($item in $items) { $file = $item.File $fileVersions = $file.Versions if ($fileVersions.Count -gt 0) { $fileVersions.Restore($fileVersions.Count - 1) } } UPDATE Please note that when any of ...


1

You can't, this is an all or nothing setting. It is either content approval for everyone, or no one.


1

a. Create a new Permission Level copied from "Read" permission b. Remove "View Versions" option from the new permission level c. Set that new permission level to the users or groups Following are the steps... Go to the Site Collection > Top level Site > Site Settings > Site Permissions Click on "Permission Levels" from Ribbon > Permission Tools > Manage ...


1

It depends. If you have version control enabled - and you have saved at least once, then you can access that version from the version menu and restore it. If you are not using version control - then the answer is no, you can not "undo" the undo. The changes are unfortunately lost.


1

I found a solution here, it involves editing the Checkin.aspx page. This would affect every site collection in the farm, unless you wrap it in a feature. Open Windows Explorer to C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS. Locate the file "checkin.aspx" and make a copy in case there is a problem. Open ...


1

I know it's been 3 years ago and already answered, but here you can find plenty of versioning scripts and ready programs: Disable a versioning on Image Libraries in SharePoint using PowerShell Enable versioning for all SharePoint Online lists using Powershell Enable versioning for all lists in SharePoint Online tenant (C#) Restore and clean up SharePoint ...



Only top voted, non community-wiki answers of a minimum length are eligible