Run PowerShell Script as Administrator (Elevated Privileges) by Default

Its a common SharePoint Administrator’s pitfall – Forget to run PowerShell script using “Run as Administrator” option, failing so could lead to many *weird* issues while running PowerShell scripts in SharePoint, such as: “The local farm is not accessible. Cmdlets with FeatureDependencyId are not registered.”. Solution: The solution is pretty simple! Just…

Read more

Create New Custom List in SharePoint using PowerShell

Requirement: Add custom list to SharePoint using PowerShell. PowerShell to Create a New List in SharePoint: To create a new list or library in a SharePoint Online site, you must have the “Manage Lists” permission! The default permission levels Edit, Design, Manage Hierarchy, and Full Control contain this permission. So in order…

Read more

SharePoint 2013 Patch (Service Pack-CU-Hotfix) Installation Guide – Step by Step

So you want to maintain your SharePoint environment healthy, secure, stable, and up to date by installing the latest patches? Well, this article walks through the various steps involved in installing patches for your SharePoint 2013 environment. SharePoint 2013 patching best practices Before proceeding, let’s consider some of the best practices for…

Read more

SharePoint 2013 Specific User Permission Analysis Report using PowerShell

Analyzing SharePoint permissions for a particular user is often a common task in SharePoint administration. Generally, How do we check what permissions a user has on SharePoint content? By getting into the site or list settings page and check permissions for the particular user, isn’t it? Well, You may want to analyze…

Read more

SharePoint Online: Activate a Feature using PowerShell

Requirement: Activate a feature in SharePoint online site collection using PowerShell. Solution: In SharePoint On-Premises, We use: Enable-SPFeature cmdlet to activate/enable features. In SharePoint online there is no such cmdlet available through PowerShell to activate feature. But we can utilize Client Side Object Model (CSOM) to activate feature in SharePoint online. Lets…

Read more

How to Hide Column Headers in SharePoint List View Web Parts using CSS, jQuery?

I was looking for some ways to hide SharePoint list view column headers today. Here are my findings: You can use CSS to hide column headers Use JavaScript/jQuery to Hide column headers You can edit the page in SharePoint designer and remove column headers Hide Column Headers of All List View using…

Read more