Skip to content

Instantly share code, notes, and snippets.

@kliemohn
Last active August 29, 2015 14:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kliemohn/cdf8c3e97cd4f0a9a4b9 to your computer and use it in GitHub Desktop.
Save kliemohn/cdf8c3e97cd4f0a9a4b9 to your computer and use it in GitHub Desktop.
Find SharePoint ULS Logs with SMTP Errors
Get-SPLogEvent -StartTime "2/6/2015" |
?{ $_.Message -like "*Bad response from SMTP*" } |
ForEach-Object {
$_
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment