пятница, 5 апреля 2024 г.

exchange online

 $dateStart = ([system.DateTime]::Now.AddDays(-1))


$dateEnd = ([system.DateTime]::Now)


Get-MessageTrace -StartDate $dateStart -EndDate $dateEnd -PageSize 512 | Where {$_.Status -eq "Delivered"} | Get-MessageTraceDetail | where {$_.Event -eq "Receive"} | where {$_.Detail -notmatch "TLS1.2"} | fl