Forum Discussion
Simon_C0010
Apr 07, 2022Copper Contributor
Sharepoint powershell problem
Hi all:
Would like to implement the major versioning to 100 to all document library of all sites. But the following code can only change the versioning to one document library "Cold Storage" in a site called "Test". How can I change the code then? Many thanks.
- plenty of examples out there, you'll need to
1- iterate through each site in SharePoint
2- then for each site iterate through each library
3- then for each library you run the settings change chose you have above.
- Warwick WardBronze Contributorplenty of examples out there, you'll need to
1- iterate through each site in SharePoint
2- then for each site iterate through each library
3- then for each library you run the settings change chose you have above.