Microsoft
70-667 · Question #215
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?
The correct answer is A. Run the following Windows PowerShell cmdlet. --EXAMPLE 5----------------- Get-SPLogEvent | Where-Object {$_.Level -eq "Error" -and {$_.Area -eq "SharePoint Foundation "} This example returns all error entries related to SharePoint Foundation.
Configuring SharePoint 2010
Question
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?
Options
- ARun the following Windows PowerShell cmdlet:
- BFrom Central Administration, go to Configure Diagnostic Logging and set the Least critical event to
- CRun the following Windows PowerShell cmdlet:
- DRun the following Windows PowerShell cmdlet:
How the community answered
(23 responses)- A83% (19)
- B9% (2)
- C4% (1)
- D4% (1)
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.
Topics
#ULS logs#diagnostic logging#warning events#PowerShell
Community Discussion
No community discussion yet for this question.