You need to gather data from existing logs on warning events only

You configure a SharePoint Server 2010 Service Pack 1 (SP1) server farm. You need to gather data
from existing logs on warning events only. What should you do?

You configure a SharePoint Server 2010 Service Pack 1 (SP1) server farm. You need to gather data
from existing logs on warning events only. What should you do?

A.
Run the following Windows PowerShell cmdlet:
Get-SPLogEvent | Where-Objects{$_.Level -eq Warning}

B.
From Central Administration, go to Configure Diagnostic Logging and set the Least critical event to
report to the event loglist to Warning

C.
Run the following Windows PowerShell cmdlet:
Get-SPLogEvent | Out-GridView

D.
Run the following Windows PowerShell cmdlet:
Get-SPLogLevel -Identity “Warning Issues”

Explanation:
–EXAMPLE 5—————–
Get-SPLogEvent | Where-Object {$_.Level -eq “Error” -and {$_.Area -eq “SharePoint Foundation “}
This example returns all error entries related to SharePoint Foundation.
http://technet.microsoft.com/en-us/library/ff607589.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *