Disk space filling up on Web Front End servers
I have several web front end servers in a SharePoint 2013 farm and disk space on the C: drive seems to get eaten quite quickly. By using TreeSize I was able to locate a temporary folder used by IE that…
Prevent site collection administrators from upgrading site collections
If you are upgrading from SharePoint 2010 to SharePoint 2013, and you need to prevent site collection administrators from upgrading site collections, then you can disable Self Service Upgrades using the Get-SPSite cmdlet: $portal = Get-SPSite “http://portal.lab.local” $portal.AllowSelfServiceUpgrade = False…
Ensure a purchased app is available in all site collections
I have purchased an app and need to make sure it s available in all site collections within a web application. Firstly I import the app package using the Import-SPAppPackage cmdlet: $spapp = Import-SPAppPackage -Path C:\MyApp.spapp -Site http://portal.lab.local -Source Marketplace Then…
PowerShell script to list sites that have a specified feature enabled
The following PowerShell script will enumerate all sites within a Site Collection and report on where a particular feature has been enabled using the Get-SPWeb cmdlet. In the example I am reporting on the SharePoint Server Enterprise Site Features feature…