If you are an Exchange server administrator, you more than likely spend a fair amount of time searching the Message Tracking logs. The data provided by these logs can be helpful in finding all messages with a particular subject or sent by a certain user during a specific time frame. Of course, there are two ways to search the Message logs: the Exchange Admin Center (EAC) or Exchange Management Shell. Using the GUI is perfectly fine, if that is your preference. However, if you are having to perform searches on a regular basis, the EMS is the more efficient option.
Continue reading “Powershell Function to Get Messages in Exchange”