Quantcast
Channel: SharePoint 2010 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 17574

PowerShell for ULS log

$
0
0

Hi, Is there a powershell script which will send immediate email alert if there is a specific error message in SharePoint 2010 ULS log?

I am not master in powershell and found a command as  Get-SPLogEvent | ?{$_.Correlation -eq “correlation id of the error”}. It
needs ti run manually to get a specific error correlation ID. It
doesn't suit me. I need to run a powershell command every minute and
send alert if there is a specific error message in ULS log.

Please help

Santosh sethi


Viewing all articles
Browse latest Browse all 17574

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>