Thursday, February 9, 2012

Find error details of correlation ID using powershell

replace the <GUID> with the Correlation Id in below command

get-splogevent | ?{$_Correlation -eq "<GUID>" }

This will give you the details about your specific error like this in the console:
 if you would want these messages to be put into a text or log file instead, you could just add the classic output redirect tag as shown below...
“> C:\SPError.log” after the command like this:

get-splogevent | ?{$_.Correlation -eq "<GUID>"} | select Area, Category, Level, EventID, Message | Format-List > C:\SPError.log

No comments:

Post a Comment