Solved

Change Sharepoint subsite version settings

Posted on 2014-02-04
7
664 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 38

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
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
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 38

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Office 365 is currently available in five editions. Three of them are for business use: Office 365 Business Essentials, Office 365 Business, and Office 365 Business Premium. Two of them are for home/personal use: Office 365 Home and Office 365 Perso…
In a previous video Micro Tutorial here at Experts Exchange (http://www.experts-exchange.com/videos/1358/How-to-get-a-free-trial-of-Office-365-with-the-Office-2016-desktop-applications.html), I explained how to get a free, one-month trial of Office …

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now