Exchange删除邮件

多条件过滤1:

Search-Mailbox -Identity "shizhenning@im.com" -SearchQuery 'Subject:"最近8小时被拦截的疑似
垃圾邮件通知" AND Received>=01/09/2020 AND Received<=01/10/2020' -DeleteContent

多条件过滤2:

Get-DistributionGroupMember it | Get-Mailbox |Search-Mailbox -SearchQuery {Subject:"测试邮件-删
除群发" From:"shizhenning@im.com" recipients:"it@im.com"} -DeleteContent

或者

Get-DistributionGroupMember it | Get-Mailbox |Search-Mailbox -SearchQuery 'Subject:"测试邮件-删
除群发" AND From:"shizhenning@im.com" AND recipients:"it@im.com"' -DeleteContent
上一篇:Spark HistoryServer日志解析&清理异常


下一篇:mintlinux下光标大小问题