Setting, Saving & Restoring Logging Level for SharePoint using PowerShell

Background Information: We want to have a script that will automate the configuration of the SharePoint ULS log by configuring the diagnostic logging with PowerShell. Assume you have a problem in production, you may wish to change the logging level of all logging categories to verbose for a short period of time to allow you […]

Read More Setting, Saving & Restoring Logging Level for SharePoint using PowerShell

Retrieving a List of Event Receivers using PowerShell

Background Information: We wish to get a list of all event receivers associated with a specific list in our SharePoint environment using a PowerShell Script. Event receivers in the context of SharePoint are similar to what triggers are to SQL Server. They are blocks of logic that execute automatically in response to a specific event. […]

Read More Retrieving a List of Event Receivers using PowerShell

Interacting with Deleted SharePoint Artefacts using PowerShell

Background Information: Since the introduction of Service Pack 1 for SharePoint 2010, Microsoft has made it possible for users to retrieve a deleted SharePoint Web or a Site Collection from the recycle bin. If a user goes and deletes a Web or a Site Collection from the SharePoint Interface, the web will be sent to […]

Read More Interacting with Deleted SharePoint Artefacts using PowerShell