Add-Remove-Get Event Receivers in SharePoint with PowerShell

We usually use C# console application or feature activation code to register event receivers with the target list or library in SharePoint. At times, we may have to handle event receiver associations explicitly. Of course, there are some great tools (E.g. SharePoint Event Receiver Manager) to manage event receivers. However, in a…

Read more

Create SharePoint Alert for a Group

SharePoint doesn’t provide a direct way to create alerts for groups. Alerts are always targeted to individual user accounts in SharePoint. If you have a requirement to create alerts for a group of people, create an E-mail enabled AD security group and add an alert to it from SharePoint. Set alert to…

Read more

Increase Maximum Size of Site Template, List Templates in SharePoint

In SharePoint 2007, You can’t save a list or site template (.stp ) file which is bigger than 10MB. MOSS 2007 gives an error message: “The list is too large to save as a template. The size of a template cannot exceed 10485760 bytes.” When you try to save a list or…

Read more

Delete List Template in SharePoint using PowerShell

Requirement:  Delete a list template in SharePoint How to delete a list template SharePoint? To remove a list template in SharePoint, Login to your SharePoint site collection (List templates are scoped at site collection level) >> Click on Settings >> Site Settings On the “Site Settings” page, click on “List Templates” under…

Read more

Copy Attachment from SharePoint List to Document Library using SharePoint Designer – PowerShell

Requirement: Copy Attachments from SharePoint List to Document Library How to copy attachment from list to document library in SharePoint? SharePoint keeps attachments under “List >> Attachments >> ‘List Item ID’” folder path. So, if you want to copy an attachment from list to document library, follow these steps: Open your SharePoint…

Read more

Server Status Remains “Upgrade Available” Even After Installing the Latest Patches

Recently, We patched one of our SharePoint 2013 environment and ran SharePoint products configuration wizard without any issues. However, we noticed that the server status is still in “Upgrade Available” for SharePoint application & Web front end server from Central Administration > System Settings > Manage servers in this farm page. Ideally…

Read more

Create Service Application Proxy Group in SharePoint 2013 using PowerShell

What is Proxy Group in SharePoint? SharePoint 2016 groups service applications together for consumption of the web application through proxy groups. These are simply groupings of service applications that you can deploy to different web applications. In other words, A proxy group is a link between a web application and service application…

Read more

How to Delete a SharePoint List using PowerShell?

Problem: A faulty solution installed on the SharePoint farm created duplicate lists in all sites in a large site collection with 100+ sites in it. We had to remove them all! To delete a list from SharePoint, from the browser, we can go to: View All Site Content >> Click on “Remove”…

Read more

How to Add your SharePoint Library to “Favorites” in Windows?

Here is a nifty trick to add your SharePoint library under “Favorites” section. Open your SharePoint library in Explorer view. Right-click on “Favorites” and choose “Add current location to favorites” Alternatively, you can just drag and drop the folder icon from the address bar to Favorites. This will add the current document…

Read more

How to upload a List Template in SharePoint using PowerShell?

Requirement: Upload a custom list template to specific site collections in a web application. While upload a list template using from SharePoint web interface is simple, wanted to automate this process as its repeating for multiple site collections. PowerShell to upload list template in SharePoint: Here is the PowerShell script to upload…

Read more