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 =…
Identify customisations to be installed when upgrading from SharePoint 2010 to SharePoint 2013
If you are planning to upgrade a SharePoint 2010 farm to a SharePoint 2013 farm you may need to identify the customisations that must be installed on the new farm. You can do this using stsadm.exe: stsadm.exe -o enumallwebs -includewebparts…
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…