I get this error:ĬategoryInfo : InvalidData: (Microsoft.Share…SPCmdletGetSite:SPCmdletGetSite) ,įullyQualifiedErrorId : I set all of the sites to read only for a maintenance window using this script, but when I went to unlock them, it skipped 150 sites that have spaces in the URL. I have a question about the script on this page. This site has pretty much become a one-stop shop for me.
We can make SharePoint site read only using PowerShell. Set Site Collection Read Only with PowerShell But site content can be accessed as usual. Once sites are read-only, you may notice certain controls on ribbons, menus are disabled.
#UPDATE LABELS GREYED OUT WORD 2013 HOW TO#
How to set site collection to read only in SharePoint 2013? Set SharePoint 2013 site collection to read using Central Administration: During a SharePoint migration we decided to set sites to read only to restrict any updates. At times we may require to set site collections to read-only to prevent any add/edit/delete operations on the site’s content.