Solved

Change Sharepoint subsite version settings

Posted on 2014-02-04
7
703 Views
Last Modified: 2014-02-04
Hi Experts,

We have a client that has an Office 365 Sharepoint site that has multiple subsites.  We would like to change the version control settings for each of the document libraries of the subsites.  Is there a way to push down version control changes from the Site Collection instead of changing each subsite document library?

Thanks!
0
Comment
Question by:xlingshot
  • 3
  • 2
  • 2
7 Comments
 
LVL 38

Expert Comment

by:Justin Smith
ID: 39833064
No.  You could do it via PowerShell script.  If that is a possibility for you, I can see if I have the script.
0
 

Author Comment

by:xlingshot
ID: 39833188
That would be great.  I'll need to look up the connection process again.  They seem to change it every time I use PowerShell with Office 365.  Thanks!
0
 
LVL 40

Expert Comment

by:Vasil Michev (MVP)
ID: 39833288
Not really sure if it will be possible, SharePoint Online has a very limited set of cmdlets available and none of them deal with actual sites (no Set-SPWeb cmdlet). Looking forward to any script ACH1LLES can provide :)
0
Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

 
LVL 38

Assisted Solution

by:Justin Smith
Justin Smith earned 400 total points
ID: 39833300
This should point you in the right direction.  Again, not saying if it works for O365 or not.

#Variables
$siteURL="http://urloftoplevelsite"
$major="number of major versions you want to keep"
$minor="number of majors to keep minors"
      
#Code
$site=Get-SPSite $siteURL
ForEach ($web in $site.AllWebs){
ForEach ($list in $web.lists){
      $list.EnableVersioning=$true
        $list.EnableMinorVersioning=$true
      $list.MajorVersionLimit=$major
        $list.MajorWithMinorVersionsLimit=$minor
      $list.Update()
}
}
0
 

Author Comment

by:xlingshot
ID: 39833432
I don't suppose you have the PowerShell connection information for Office 365 Sharepoint, do you?  Usually just connect into Exchange and make changes to mailboxes.  Is it the same process?
0
 
LVL 40

Accepted Solution

by:
Vasil Michev (MVP) earned 100 total points
ID: 39833439
Here you go:

http://technet.microsoft.com/en-us/library/fp161372.aspx

But I can bet you the above script will not work, as I said no cmdlets are available to manage separate sites in SPO.
0
 

Author Closing Comment

by:xlingshot
ID: 39833465
Thanks for all the information guys.  At this point, it's probably just easier to click through each of the sites and change the version control.  

Thanks again!
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cloud-based technologies and services will continue to grow in popularity in 2017 thanks to the simple, scalable and cost-effective solutions they deliver. Here are three areas where cloud adoption is poised to really take off.
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Microsoft Office Picture Manager has a Picture Shortcuts pane that shows a list with the Recently Browsed folders. While creating my video Micro Tutorial here at Experts Exchange showing How to Install Microsoft Office Picture Manager in Office 2013…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question