Tag Info

New answers tagged

0

Changing the URL for the entire web requires you to: - Create a new DNS entry for the new domain name - Create an AAM (Alternate Access Mapping) in Central Admin for the new domain name - If IIS isn't automatically updated (I cannot recall this), create a new entry in IIS for the new host header (domain name) and point it to the appropriate directory for the ...


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 ...


0

I created a new site with a new content db and migrated the contents and subsites with 3rd party tool (in my case ShareGate). Then I could upgrade the site collection. But my client doesn't want to buy a migration tool to migrate only one single site collection. So I ended up using the export-spweb and import-spweb cmdlets to move the old contents to the ...


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 + ...


0

Yes. That is exactly what it is supposed to do. I do this on a normal basis to sync between production and test environments. Here is the Powershell code I use to do this: $dir = "\\backup\sharepoint\" $sourceSiteCollection = "https://sharepoint.old" $destinationSiteCollection = "https://sharepoint.new" $backupFilePrefix = "sitecollection_" #filter to ...


0

You don't need to create separate web application, you can clone the same site collection in the same web app you just need to create a new content Database. You just need to take the backup of site collection create new content Database restore the site collection using the Database name parameter and put the new db name. But one thing keep in mind, You ...


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 ...


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 ...


0

I don't understand why Set-SPOSite would not be an option if you are using PowerShell, install the components, you'd need to install the DLLs for the client side components anyway. #The size in MB to set existing site collections $newQuota = 10240 $sites = Get-SPOSite -Limit All foreach($site in $sites){ #If the site has a storage quota of zero, it is ...


7

First, you can change the O365 landing page, but you can't specify a URL for the new landing page, it's a dropdown menu. See https://blogs.office.com/2014/09/18/new-office-365-home-page-fast-access-services/ for details. Second, this setting is a per-user one. An admin cannot change this setting for all or specific users at this time. As it's said in ...


0

As the issue is reoccurring on a weekly basis it surely points out to a fault Timer Job. Please narrow down your ULS log and you'll find out the culprit. I read in a blog which I'll refer once I find the URL, there are couple of Jobs which can do this and out of them one is "Recycling Bin". You should surely set it to stop on Friday and see the result on ...



Top 50 recent answers are included