1
vote
2answers
82 views

Copy files between sites with version history (powershell, SP2010)

I can copy a file from one site to another using $SPFolder_Destination.Files.Add("Filename.ext", $SPFile_Source.OpenBinary(), $false) This does not preserve version history. I think I could ...
0
votes
2answers
1k views

Script to reset list item versions for all Sites

I'm looking for a way to reset the number of versions to "2" for all lists and libraries that have version control enabled. Is there a PowerShell script or something that can handle this? The idea ...
1
vote
2answers
2k views

Enable versioning on all lists and libraries

Is it possible to enable versioning on all lists and libraries across all web sites of a site collection? Thanks.
2
votes
1answer
3k views

Does Update-SPSolution trigger a SPFeature.Upgrade()?

I'm looking into Feature versioning and upgrading in SharePoint 2010 and I don't know exactly if the Update-SPSolution cmdlet triggers a SPFeature.Upgrade(). Are <UpgradeActions> elements ...