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