Introduction:SharePoint 2010 provides the capability to subscribe to content through a feature called "Alerts". Alerts can be subscribed to at one of the four levels list, document library, list item and document. This also enables you to be notified by e-mail of any changes made to the content of your SharePoint Web site. In this article we will be seeing how to create an alert for a particular user subscribed for a document library using powershell.For configuring alerts in SharePoint 2010 when using out-of-the-box refer to my previous article http://www.c-sharpcorner.com/UploadFile/anavijai/7593/ (Copy and paste the hyperlink).SPAlert Class:This class is used to represent an alert, which generates periodic e-mail or Short Message Service (SMS) notifications sent to a user about the list, list item, document, or document library to which the alert applies. Using this class we will be creating a new alert for a document library.Steps involved:
C# Corner. All contents are copyright of their authors.