Deactivate Synchronize libraries

Hi all,

As many of you know, SharePoint 2013 includes a feautre that it’s called sync, that allows to synchronize a library with your own OneDrive.

sys1

As many of you know, it is a really cool feature, but in case you need deactivate this feature from a Web Application, you would need PS to do this:

Get-SPSite -limit all | get-SPWeb -limit all | Foreach {$_.Title = $_.Title; 
$_.ExcludeFromOfflineClient=1; $_.Update()}

sys2

That’s all, easy, isn’t it?

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s