Setting a Site Collection to not be read-only Setting a Site Collection to not be read-only
Joel Plaut

Joel Plaut

January 19, 2016

All Post
img
Share:

How to set a site collection as not read-only

Is your site collection read-only?

It is critical to be able to set a site collection to not be read-only. This situation can occur if a site backup is interrupted, as an SPSite backup is made read-only temporarily during backups.

 $site=Get-SPSite "http://SharePoint/managedpath/sitename"
$site.set_ReadOnly($false)

To turn it back to read-only:

$site=Get-SPSite "http://SharePoint/managedpath/sitename"
$site.set_ReadOnly($true)

Leave a Reply

Your email address will not be published. Required fields are marked *

Want to talk?

Drop us a line. We are here to answer your questions 24*7.