Tag Info

Hot answers tagged

2

In my opinion, I'd build it for growth off the bat and have each department in a site collection, with a managed path--"sites" is fine http://sharepoint/sites/hr http://sharepoint/sites/finance http://sharepoint/sites/operations With each site collection there will be a site collection specific, generated set of SharePoint groups--Visitors, Members, and ...


2

Yes, it is possible to get it. You can use REST calls to get the required information. The following code shall help you: I have created respective arraylists to store the subsite, document library and folder information. Once the information is collected in the arraylists we can display it as per out requirement. Get subsites: $.ajax({ url: siteUrl + ...


1

i am not sure about the reverse proxy, but their is a trusted way which i adopt all the time for path based site collections. take the backup of current site collection restore the site collection with new URL. once site restored on new url, test it and after that delete the old site collection. But if this is only site collection in the Web app then you ...


1

$site = get-spsite http://www.url.com/sites/sitecollection $site.Recyclebin | where {$_.itemtype -eq "web"} This get's all the sub-sites in a site collections recycle bin. Powershell for working with SharePoint Recycle Bin


1

Using Set-SPOSite, you can lock down the Office 365 site collection with the LockState parameter. Set-SPOSite -Identity https://contoso.sharepoint.com -LockState NoAccess Optionally, Set-SPOTenant can be used to redirect users from the locked site to another location. Set-SPOTenant -NoAcessRedirectUrl 'http://www.contoso.com'


1

I don't think their is any lock type available which will disable all users from the site collection except Site Admins. Couple of workaorund i am guessing may work. You alrady know about it, remove all users from site collection, after the job done, re-add them. On-Prem, if you are using the HNSC collection, just change the URL of the site collection and ...


1

You can do this with a powershell cmdlet Open powershell as administrator and run the following commands: asnp microsoft.sharepoint.powershell -ea 0 Set-SPSite -Identity "" -LockState "" -Identity needs to be the URL of the site collection you want to lock and -LockState can be one of 4 options: Unlock Unlocks the site NoAdditions No ...



Only top voted, non community-wiki answers of a minimum length are eligible