How to Activate Publishing Feature using PowerShell in SharePoint?

Requirement: SharePoint Publishing sites used to create Public websites, intranet portals, etc. We had to activate the Publishing feature in SharePoint using PowerShell in scenarios, such as: Activating Publishing feature through web user interface resulted in error! Bulk activating publishing feature for all site collections and sites in a web application. PowerShell…

Read more

Create Task List in SharePoint using PowerShell

Requirement:  In SharePoint, create task list using PowerShell! PowerShell to create task list in SharePoint: This PowerShell script creates SharePoint task list. To add a task in Task list using PowerShell, use: Create a Task in SharePoint Task List using PowerShell

Read more

Fix “Drives are running out of free space” Error in SharePoint Health Analyzer

Problem: SharePoint Health Analyzer in Central Admin site gave the alert banner “The SharePoint Health Analyzer has detected some critical issues that require your attention. View these issues”. On checking, found “Drives are running out of free space” and “Drivers are at risk of running out of disk space” errors logged! Also, this…

Read more

Monitor SharePoint Web Sites Availability and Send Alert Email using PowerShell

Requirement: Script to monitor SharePoint web sites and trigger an Alert Email when something goes wrong! PowerShell script to Monitor SharePoint Sites: Here is the alert Email in action: Schedule this script in Windows task scheduler to run for every 10 minutes. Update: What if the site loaded with an error? E.g….

Read more

Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) on Get-SPWeb, New-SPUser, Get-SPUser, Set-SPUser, etc.

Problem: Getting “Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))” on running PowerShell cmdlets, such as: Get-SPWeb, New-SPUser, Get-SPUser, Set-SPUser, etc. Solution:  Add a web application user policy with Full control for the Farm Administrator who runs the Script! Open SharePoint 2016/2013/2010 Central Administration site as a Farm Administrator Click Application Management…

Read more

Remove Checkbox from SharePoint Listview Web Part

Requirement: Remove the checkbox from SharePoint 2016 listview header! For a SharePoint links list, we had to remove the checkbox from the listview. Solution: To remove checkbox in SharePoint list header, follow these steps: Click on the “Modify View” button from the List tab of the ribbon menu. Scroll down and uncheck…

Read more

How to Enable Client Integration in SharePoint 2013?

Client integration setting in SharePoint enables or disables SharePoint-Client applications integration, such as starting client applications based on the document types. It also provides features such as Open in Explorer view, upload multiple documents, Edit in the datasheet, etc. Enable client integration in SharePoint 2013 central administration SharePoint client integration is not…

Read more

SharePoint 2016 RTM is Released!

So the waiting period is over! SharePoint 2016 is in its RTM now! Download SharePoint 2016 RTM Trial from here: https://www.microsoft.com/en-us/download/details.aspx?id=51493 180 day Trial key: NQGJR-63HC8-XCRQH-MYVCH-3J3QR What’s New: Fast Site Collection Creation, Durable Links, Hybrid Features, MinRoles, Large File support, etc. What’s Lost: No more SharePoint Foundation, No Stand-alone Install Mode (with…

Read more

Disable Continuous Crawl in SharePoint 2013 using PowerShell?

Continuous Crawl in SharePoint 2013 helps to keep the search results up to date. Configuring continuous crawl is explained in my another article: Configure Continuous Crawl in SharePoint 2016 . In some situations like maintenance, Index reset, etc you may have to turn-off continuous crawl in SharePoint. How to Disable Continuous Crawl…

Read more

Enable Continuous Crawl in SharePoint 2013 using PowerShell

Continuous Crawl was introduced in SharePoint 2013 to keep the search results as fresh as possible. To enable Continuous crawl in SharePoint 2013, follow these steps: Login to SharePoint 2013 Central Administration as a Farm Administrator. In Central Administration, Click on Manage service applications under the Application Management tab Click on your…

Read more