十年网站开发经验 + 多家企业客户 + 靠谱的建站团队
量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决
$ErrorActionPreference="SilentlyContinue"
$nameid = Import-Csv D:\scripts\name.csv -Encoding Default
foreach ($n in $nameid)
{
Get-TransportServer | Get-MessageTrackingLog -Sender:monitorn@demo.com -Recipients:$n.name `
-MessageSubject "IT子系统警告" -EventId deliver `
-Start "2016/07/31 12:00:00" -End "2016/08/02 17:36:00" | `
select EventID,timestamp,sender,recipients,messagesubject | `
ft
}