Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 12728

Lock a site in sitecollectionusing powershell.

$
0
0

Hi,

I tried to lock a Individual site in site collection using  power shell ,but the the command is locking entire site collection.

The following  command is  to lock a sub site in share point,  In the similar way I tried it for site,but its not working.

Command:

Set-SPSiteAdministration -Identity "http:// Sitename / subsite" -LockState "ReadOnly"

Please share your ideas.

Thanks

Raja


Viewing all articles
Browse latest Browse all 12728

Trending Articles