Easiest way to read ULS log error with Correlation ID

Easiest way to read ULS log error with Correlation ID

Simply run this in Powershell and replace the GUID with the one presented


$guid = "d17a4766-5115-4be4-8138-9962885912bc"
Get-SPLogevent starttime (get-date).addminutes(-65) | ?{$_.Correlation -eq $guid} | select Message | Format-table property messageautosize

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.