|
發表於 2022-2-11 14:20:03
|
查看: 1039 |
回復: 0
#看所有使用者信箱大小
Get-Mailbox -Server Mail-Ex | Get-MailboxStatistics | Select DisplayName,TotalItemSize,TotalDeletedItemSize,DatabaseName | FT
#啟動垃圾郵件過濾
$env:ExchangeInstallPath\Scripts\Enable-Antimalwarescanning.ps1
#垃圾郵件更新頻率
Set-MalwareFilteringServer Mail-Ex -UpdateFrequency 60
#手動更新掃毒引擎與定義檔
.\Update-MalwareFilteringServer.ps1 -Identity Mail-Ex
#停止垃圾郵件過濾
Set-MalwareFilteringServer Mail-Ex -BypassFiltering $True
#調整過濾等級
Set-ContentFilterConfig -SCLDeleteEnabled $true -SCLDeleteThreshold 9
Set-ContentFilterConfig -SCLRejectEnabled $true -SCLRejectThreshold 7
Set-ContentFilterConfig -SCLQuarantineEnabled $true -SCLQuarantineThreshold 5
|
|