There's more...

The -EventID parameter can be used to specify the event category used to classify a tracking log entry when you perform a search. The following are some possible event categories that can be used:

  • BadMail: The message was submitted through the pickup or replay directories but cannot be delivered
  • Deliver: The message was delivered to a local mailbox
  • DSN: A DSN was generated
  • Expand: Expansion of a distribution group
  • Fail: Message delivery failed
  • PoisonMessage: The message was added or removed from the poison message queue
  • Receive: The message was received either through SMTP or by StoreDriver
  • Redirect: The message was redirected to an alternate recipient
  • Resolve: After an Active Directory lookup, the recipients listed in the ...

Get Microsoft Exchange Server 2016 PowerShell Cookbook - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.