Get SharePoint Log details using correlation Id using powershell

Get-SPLogEvent -StartTime (get-date).AddMinutes(-10) | where {$_.correlation -eq "Corr ID"} | Export-CSV "c:\Errors.csv" -notypeinformation

Comments

Popular posts from this blog

IRM and the Object Model

This content database has a schema version which is not supported in this farm

Activate and Deactivate Feature through PowerShell