How to Stop and Start All SharePoint 2013 Farm Services using PowerShell?

Prior to SharePoint patching, it’s a best practice to stop all SharePoint 2013 and its related services and then start once patching is completed. If you don’t do this, your service pack or patch installation will take longer than expected. So what are all the services to be stopped? SharePoint 2013 Search…

Read more

SharePoint 2013 Search Crawl Log History Report

Requirement: Generate SharePoint 2013 search crawl report daily. How to Get SharePoint Search Crawl Log? Crawl history can be viewed from the SharePoint 2013 search service application below, and it gives the crawl log history report for all content sources. Why don’t we automate it with PowerShell to get a crawl history…

Read more

SharePoint Online: Delete All List Items using PowerShell

Requirement: Delete All Items from SharePoint Online List using PowerShell. We have a list in SharePoint Online – Office 365 site with a bunch of items and need them to be deleted in bulk rather than deleting one by one from SharePoint web UI. So, let us use SharePoint Online PowerShell to…

Read more

How to Delete a Service Application in SharePoint 2013 using PowerShell?

Requirement: Delete SharePoint 2010/2013 Service Application using PowerShell. How to Delete a Service Application in SharePoint 2013? If you are using SharePoint 2013, you may need to delete a service application when you no longer use that service to free up some server resources. You can do this using PowerShell. In this…

Read more

Configure Variations Feature in SharePoint 2013 – Step by Step

What is Variation in SharePoint 2013? Variations feature provides multilingual support for SharePoint 2013 sites. It helps us manage multilingual sites by making the same content available to specific language audiences across different sites by maintaining customizable copies of the content from the source variation in each target variation. A variation consists…

Read more

Remove a User from SharePoint Group using PowerShell

How to Remove user from SharePoint group? As a SharePoint administrator, you may need to remove users from groups from time to time. This can be done in the SharePoint site with the web browser interface or PowerShell. In this guide, we’ll walk you through the process of removing users from groups…

Read more

Hide “Upload” Button of a Document Library in SharePoint 2013

Requirement: Disable upload button in SharePoint document library! But why? Because we wanted users to fill the form by creating a new document from the New drop-down and not to upload any existing documents with the Upload button. So, we need to hide the upload button in SharePoint 2013. Solution: CSS! Place…

Read more

Copy Alerts from One SharePoint List or Library to Another using PowerShell

Requirement: Copy Alerts from one SharePoint list to another list. Solution: Use this PowerShell script to copy alerts between SharePoint lists or libraries. My scenario is: We have a list with a number of alerts created for various users. We copied that list to a new site through “Save list as template,”…

Read more