How to Activate Publishing Feature using PowerShell in SharePoint?

March 27, 2016    , , , , ,
Requirement: SharePoint Publishing sites used to create Public web sites, intranet portals, etc. We had to activate Publishing feature in SharePoint using PowerShell in scenarios, such as: Activating Publishing feature through web user interface resulted in error! Bulk activating publishing f…

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

March 26, 2016    , , , , ,
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…

Monitor SharePoint Web Sites Availability and Send Alert Email using PowerShell

March 26, 2016    , , , , ,
Requirement: Script to monitor SharePoint web sites and Trigger an Alert Email when something goes wrong! PowerShell script to Monitor SharePoint Sites: Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue #Configuration Parameters $EmailFrom = "[email protected]

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

March 21, 2016    , ,
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…

Remove Checkbox from SharePoint Listview Web Part

March 15, 2016    , , , , , ,
Requirement: Remove checkbox from SharePoint 2016 listview header! For a SharePoint links list, we had to remove checkbox from listview. Solution:  To remove checkbox in SharePoint list header, follow these steps: Click on "Modify View" button from the List Tab of the ribbon menu…

How to Enable Client Integration in SharePoint 2013?

March 15, 2016    , , , ,
Client integration setting in SharePoint enables or disables SharePoint-Client applications integration, such as starting client application based on the document types. It also provides features such as Open in Explorer view, Upload multiple documents, Edit in datasheet, etc. Enable client int…

SharePoint 2016 RTM is Released!

March 15, 2016    
So the waiting period is over! SharePoint 2016 is in its RTM now! Download SharePoint 2016 RTM Trial from here: 180 day Trial key: NQGJR-63HC8-XCRQH-MYVCH-3J3QR What's New: Fast Site Collection Creation, Durable Links, Hy…

Disable Continuous Crawl in SharePoint 2013 using PowerShell?

March 13, 2016    , , , ,
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 Sha…

The Database name located at the specified database server contains user-defined data.- Error in SharePoint Products Configuration Wizard

March 13, 2016    , ,
Error: SharePoint Products Configuration Wizard:   The Database name located at the specified database server contains user-defined data. Databases must be empty before they can be used. Delete all of the tables, stored procedures, and other objects, or use a different database . Root cause…

Enable-Disable Timer Jobs using PowerShell in SharePoint

March 12, 2016    , , , , , ,
Timer jobs perform specific tasks in SharePoint through Windows Timer service, such as sending email alerts at a scheduled time. In SharePoint Central Administration site you can check the timer jobs, disable or enable specific timer jobs. PowerShell Script to Check Timer Job Status: #Function…

SharePoint Online: Export List Items to CSV using PowerShell

March 09, 2016    , , , , ,
Requirement:  Export SharePoint online list items to CSV file from client side. PowerShell Script to Export SharePoint List Items to CSV: Here is how you can export SharePoint online list to CSV via PowerShell #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Fil…

Copy Files Between Document Libraries in SharePoint using PowerShell

March 02, 2016    , , , , ,
Requirement: Copy Files between SharePoint Document Libraries using PowerShell   PowerShell Script to Copy a File from One Library to Another: Here is my PowerShell script to copy files between SharePoint document libraries: Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction Silentl…

Powered by Blogger.