Office 365 – Deleting a Web Part using CSOM

I was recently assisting a customer to automate the creation and customization of their SharePoint Online sites using PowerShell, one of their requirements was to remove the "Get started with your site" Web Part from the landing page of each newly created Team Site. The script below can be used to do this, please update…

2

PowerShell Web Access – a walkthrough.

PowerShell Web Access Recently on a customer engagement, I was asked to help out with a solution to provide limited access to PowerShell.  If you haven’t come across PowerShell Web Access (PSWA) before, then I would recommend reading up on this as it is awesome.  In this blog post, we’ll walk through setting up PSWA…

2

Office 365 – Identify how much storage a OneDrive site is consuming with PowerShell

UPDATE: It now appears to be possible to use Get-SPOSite to bind to a OneDrive site (I'm sure that this didn't work before!). I recently helped a colleague to write a script that reports how much storage a OneDrive site is consuming, for standard SharePoint Online sites the Get-SPOSite PowerShell Cmdlet can be used which returns the property StorageUsageCurrent…

3

Office 365 – Creating a Subsite (Web) using CSOM in SharePoint Online

SharePoint Online has a number of PowerShell Cmdlets – https://technet.microsoft.com/en-us/library/fp161374(v=office.15).aspx, these Cmdlets include New-SPOSite which provides the ability to create a Site Collection, unfortunately it's not possible to create a SubSite (web) using these Cmdlets – it is however possible to use CSOM to do this and the script below demonstrates how to create a SubSite and…

8

Flush the SharePoint Configuration Cache

From time to time you may need to flush the SharePoint configuration cache on servers within your farm, my colleague Joe Rodgers blogged about this many moons ago – http://blogs.msdn.com/b/josrod/archive/2007/12/12/clear-the-sharepoint-configuration-cache-for-timer-job-and-psconfig-errors.aspx. If you run into a scenario that you need to flush the configuration cache on all servers within a farm this can become a very…


SharePoint Update Deployment – Automating Parallel Content Database Upgrades

I recently helped a customer to deploy a Cumulative Update to their SharePoint environment, due to the amount of content hosted within the farm the customer uses the approach of detaching all content databases, upgrading the farm and then re-attaching and upgrading all content databases afterwards, this potentially reduces the amount of downtime as content…

4