【O365 PowerShell Script】隔离邮件报告
#O365的隔离报告https://protection.office.com/quarantine 可以在365的网址上拿到,但是却无法导出,以下脚本可以将隔离的邮件导出,并使用while循环解决单条命令的1000个数据的限制 #O365's quarantine report https://protection.office.com/quarantine can be obtained on the 365 website, but it cannot be exported. The following script can export the quarantined emails and use the while loop to solve the 1000 data of a single command limits #No need to modify any line #无需更改以下任何一行 #===================================================== $output = @() $ExportCSV= Read-Host "Export the quarantine CSV file location (E.g c:\temp\QuarantineReport.CSV)" $StartDate = Get