anyline

【O365 PowerShell Script】隔离邮件报告

爱⌒轻易说出口 提交于 2020-08-09 17:56:42
#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

POJ 1129 Channel Allocation

北城以北 提交于 2020-05-05 18:47:32
Channel Allocation Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 18033   Accepted: 9133 Description When a radio station is broadcasting over a very large area, repeaters are used to retransmit the signal so that every receiver has a strong signal. However, the channels used by each repeater must be carefully chosen so that nearby repeaters do not interfere with one another. This condition is satisfied if adjacent repeaters use different channels. Since the radio frequency spectrum is a precious resource, the number of channels required by a given network of repeaters should be