Set SharePoint Web Application Recycle Bin Configuration with PowerShell

In continuation of my article SharePoint Recycle bins – Let’s get it crystal clear, There are situations to set SharePoint to recycle bin options programmatically with either object model code (C#) or with PowerShell. SharePoint PowerShell Script to Configure Recycle Bin: SharePoint Recycle bin configuration with STSADM: stsadm -o setproperty -pn Recycle-bin-enabled…

Read more

Disable Delete List Option in SharePoint

What? We’ve a SharePoint list provisioned to store & retrieve custom application settings in a SharePoint site. Its critical to prevent this list from any accidental deletion, so we want to disable delete list option from list settings in SharePoint. How? We can disable “Delete this list” link in SharePoint by setting…

Read more

Create Permission Level Programmatically in SharePoint

While it’s relatively easy to create permission levels in SharePoint 2010 UI, We had 2000+ site collections in web applications, and a scripting/programmatic way to create permission levels would be the best choice. We wanted to do a SharePoint permission level customization by eliminating delete capability from contributor permission level. Lets copy…

Read more

How to Create a New Permission Level in SharePoint?

There are scenarios where requirements couldn’t be fulfilled by OOTB permission levels. Here is one among them: User who has contribute permissions can add, edit, open, view, and delete an item. What we want is to permit a user to add, edit, view but not delete an item. So, I needed to…

Read more

How to Add User to Farm Administrator Group in SharePoint?

By default, the account which was used (logged in) to install SharePoint becomes the SharePoint Farm Administrator. There are situations, where we need to add additional Farm Administrators to our SharePoint farm in order to delegate the tasks. Follow these three steps to add a farm administrator in SharePoint. Add user to…

Read more

SharePoint Farm Administrator Cannot Access Site, Gets Access Denied

Problem: SharePoint 2013 farm administrator cannot access site! They get access denied error. Root cause: Its a common misconception that SharePoint Farm Administrator will get access to all SharePoint sites in the farm automatically! Farm administrator get access denied error in SharePoint 2010 site collection when trying to browse. Solution to SharePoint…

Read more