Disable OneDrive Sync for SharePoint Online Site Libraries

The Sync button is availalbe on every library in SharePoint Online sites.  In some cases companies wants to disable the feature for sites and leave it turned on for OneDrive only.  Below script can enable or Disable.  With Minor changes same script be used for SharePoint On Premi

Add to favorites
E-mail Twitter del.icio.us Digg Facebook