Analyzing Events in the Event Log

SharePoint 2010 introduced a number of improvements for easier logging and monitoring for SharePoint farms. One of the crucial improvements is the correlation ID displayed to end users in the browser when an error occurs.

PowerShell comes to the rescue when troubleshooting problems with SharePoint. The most important cmdlet for reviewing events is Get-SPLogEvent. Running this cmdlet without additional parameters might take a while, so it is advisable to add some additional parameters before running this cmdlet. Here are some examples:

image

Beside the Get cmdlet, there are also Clear, Merge, and New cmdlets that enable ...

Get Microsoft SharePoint 2010 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.