by butsch
28. October 2013 15:19
This is equal to GREP or WINGREP but with Powershell. People would say use Search Function but this may be slow or incomplete.
XP/2003 Search worked but the 2008R2/W7 Search function does not seem to be much loved.
You may have to enable Messagetracking Logging first. Here is the easiest way:
Transport
Receive Connector / Empfangs Connectoren
Start the Blue Windows 2008R2 Powershell:
Change to the Exchange LOGS Path:
Cd "C:\Program Files\Microsoft\Exchange Server\V14\TransportRoles\Logs\MessageTracking"
Display on Screen:
Get-ChildItem -recurse | Get-Content | Select-String -pattern "m.butsch@maildomain.com"
Write into Logfile:
Get-ChildItem -recurse | Get-Content | Select-String -pattern "m.butsch@maildomain.com" > d:\edv\logs.txt
There will be an error because he has no permission to read INDEX files.

9a5113ba-18e7-4c22-9fc3-8684f75b5653|3|4.7|27604f05-86ad-47ef-9e05-950bb762570c
Tags: