Quantcast
Channel: TechNet Blogs
Viewing all articles
Browse latest Browse all 34890

Remove Read-Only lock from SharePoint 2013/2016 site collection

$
0
0

Set/Remove Read-Only lock from SharePoint 2013/2016 site collection using PowerShell:

 

$siteUrl = "http://mysiteurl"

#mark site as not locked

$s = get-spsite $siteUrl

$s.WriteLocked = $false

set-spsite $siteUrl -LockState Unlock
$s.Archived = $false

 

#mark site as read-only
set-spsite $siteUrl -LockState ReadOnly


Viewing all articles
Browse latest Browse all 34890

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>