How to Clear SharePoint Configuration Cache using PowerShell?

Clearing SharePoint configuration cache would be the solution for many common issues such as “An update conflict has occurred, and you must re-try this action”. Manually clearing the SharePoint 2007 configuration cache is explained in another article: How to Clear SharePoint Configuration cache? and this one is the PowerShell version of clearing…

Read more

Determine the Installed SharePoint Edition: Standard or Enterprise?

Here is how to check whether standard or enterprise edition is installed in SharePoint 2013. Go to Central Admin >> Upgrade and Migration >> Click on “Enable Enterprise Features” This procedure stays same to check standard or enterprise SharePoint 2010 and SharePoint 2007: When the “Enterprise” is selected and grayed-out, it’s an…

Read more

SharePoint 2013: Set Site Collection to Read Only

At times we may require to set site collections to read-only to prevent any add/edit/delete operations on the site’s content. During a SharePoint migration we decided to set sites to read only to restrict any updates. How to set site collection to read only in SharePoint 2013? Set SharePoint 2013 site collection…

Read more

How to Disable Sync button in SharePoint 2013?

The Sync option in SharePoint 2013 enables users to keep copies in sync between SharePoint libraries and the user’s local disk. Once Synced, You get the flexibility to edit documents straight from your local machine. Clicking the “Sync” button from any document library triggers the client application “SharePoint workspace” – which is…

Read more

How to Create a Subsite in SharePoint with PowerShell?

Although creating subsites can be easily managed from SharePoint Web UI, We can also use PowerShell cmdlet New-SPWeb to create subsites programmatically in SharePoint. This is extremely helpful when you have to create a bunch of subsites under any SharePoint 2010/2013 site collection or when you have to create subsites in bulk…

Read more

How to Find Which SharePoint Web Server You are Hitting?

To troubleshoot an issue in the SharePoint environment, I had to figure out from which SharePoint server I’m getting the page response. How to check which SharePoint web front end is serving your requests? I found these two ways to determine which SharePoint WFE you are hitting: Using IIS HTTP Response header…

Read more

Force Delete a Corrupted Site Collections using PowerShell

There is a strange issue in SharePoint 2013 environment today! One of the site collection provisioned via custom code is unreachable with “404 page not found” error. However, the particular site is listed under central administration >> View all site collections! But no further details such as Content database, etc. are available…

Read more