From the course: PowerShell for Exchange Administration

Unlock this course with a free trial

Join today to access over 22,500 courses taught by industry experts.

Tracking emails

Tracking emails

- [Instructor] So to search the message tracking logs in Exchange using PowerShell, there's actually a lot you can do, but before we get into it, make sure you're in an Exchange PowerShell session or in the Exchange Management Shell. So you can see here that I've got an Exchange PowerShell session already open to my Exchange server. So we've got this command they call Get-MessageTrackingLog, and if were to run it by itself, it's moderately useful. I mean, if I expand this up a little bit, you can see we've got a lot of data. And in fact, it told us there was so much that it wasn't going to display them all unless we use the ResultSize parameter. I'm not going to get into, because getting this amount of data isn't useful unless you're logging it or something, but it's already in a log, right? (laughs) So we can filter that out pretty granularly. Here on line 22, we can use the Start parameter to specify that we want all messages after a certain time. And so you can see, if I look in…

Contents