SharePoint 2013 – enable the Blob Cache
The blob cache (one of four cache types in SharePoint 2013) is a disk based cache to improve the speed at which pages load (it also reduces load on the database server). Enabling this requires editing the web.config file on each…
Only allow sites to be created with SharePoint 2013 compatibility level
If you have a requirement to only allow sites within a web application to be created with a compatibility level of SharePoint 2013 then you can configure this using only a few PowerShell commands: $wa = Get-SPWebApplication http://portal.webbworld.local $wa.CompatibilityRange =…
SharePoint 2013 – URL mappings for Host Named Site Collections
The only way to add a URL mapping to a Host Named Site Collection is by using PowerShell and the Set-SPSiteURL cmdlet. Below is an example of how to add a URL to an existing site collection: $Site = Get-SPSite ‘https://intranet.webbworld.local’…
SharePoint 2013 – creating a host named site collection using PowerShell
The only way to create a Host Named Site Collection (HNSC) is using PowerShell and the New-SPSite cmdlet. Below is an example of how to do this: New-SPSite -URL “https://doc-centre.webbworld.local” -HostHeaderWebApplication “https://portal.webbworld.local” -Name “Doc Centre” -Description “WebbWorld Document Centre” -Template…
SharePoint 2013 – Increase the Distributed Cache size
In order to improve performance I am increasing the cache size for the Distributed Cache Service using the Update-SPDistributedCacheSize cmdlet. Here are the steps to do so: 1. Update the cache size: Use-CacheCluster Update-SPDistributedCacheSize -CacheSizeInMB 2048 2. Stop the service…
SharePoint 2013 – Distributed Cache stuck on Starting
I have added a new cache host to a SharePoint 2013 farm using the Add-SPDistributedCacheServiceInstance cmdlet. However, in Central Administration the service shows that it is stuck on Starting. If I use the Get-SPServiceInstance cmdlet then I can see that…
Audit Log Reports link missing in SharePoint 2010
I have enabled auditing for a site collection but when I open the Site Settings page the Audit Log Reports link is missing. To fix this, I ran the following command: STSADM.EXE -o ActivateFeature -Name Reporting -URL http://intranet -Force Now…
Moving a site collection between content databases (SharePoint 2013 using PowerShell
I have created a new site collection within a SharePoint 2013 web application and want it to use a new content database. After creating the new content database using the New-SPContentDatabase cmdlet I used the Move-SPSite cmdlet: Move-SPSite <URL> –DestinationDatabase…
Enable FILESTREAM and provision a Remote Blob Store
Binary large objects, known as BLOBs, are used to store large binary data such as Office documents and media. By default BLOBs are stored in the content database on the SQL server. Today I am going to enable FILESTREAM on…
Change the location of usage logs
By default SharePoint stores it’s usage logs in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS but if a server doesn’t have a large C: drive then it is easy to change the location to a larger drive. Here is how: 1….