我真的不確定這是否可以使用Powershell,所以我想先在這裏問一個快速的頭腦風暴!基本上我需要通過在一個給定的Exchange的所有郵箱,尋找特定的字符串搜索 - 這些字符串的多種形式 - 在這種情況下,讓說 - 包含了一組6個號碼在以下任何格式的任何電子郵件:Powershell - 搜索Exchange郵箱和電子郵件
`xx-xx-xx
xxxxxx
xxx-xxx`
這裏的x是一個數字。因此,如果這些字符串的郵件中發現,它記錄到一個文本文件中的郵箱和郵件/主題它包含在
我的邏輯將如下所示:
Search Exchange and loop for every mailbox
Recurse in every mailbox looking for matches for the above criteria
If it finds something - get info about that mail, write to text file
Continue loop
任何想法!
感謝
Exchange版本? –
對於2007年或2010年版本說實話 – PnP