O'Reilly logo

Microsoft SharePoint 2010 and Windows PowerShell 2.0: Expert Cookbook by Yaroslav Pentsarskyy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Parsing SharePoint logs using PowerShell

SharePoint has a variety of ways to extract information about issues in your farm. One of the most trusted sources to determine the cause of the particular issue is using Unified Logging Service (ULS) logs.

If your farm is set to catch detailed errors of multiple features in the system, you might run into a challenge to find the useful information from your logs purely due to the large volumes of data collected.

In this recipe, we'll take a look at how you can use PowerShell to extract useful information about issues happening in the farm.

Getting ready

Considering you are using virtual development environment as described in Chapter 1, PowerShell Scripting Methods and Creating Custom Commands, you're all ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required