Samlar lite kommandon som är bra att ha här…
Länkar:
Kontrollera build versionerna på exchange servers:
https://social.technet.microsoft.com/wiki/contents/articles/exchange-server-and-update-rollups-builds-numbers.aspx
Kontrollera build versionerna på exchange servers:
https://social.technet.microsoft.com/wiki/contents/articles/exchange-server-and-update-rollups-builds-numbers.aspx
Funktioner:
Antispam – Enable på serverns via script
1. %system drive%/Program Files\Microsoft\Exchange Server\V14\Scripts folder.
./install-AntispamAgents.ps1
2. After the script has run, restart the Microsoft Exchange Transport service by running
the following command.
Restart-Service MSExchangeTransport
./install-AntispamAgents.ps1
2. After the script has run, restart the Microsoft Exchange Transport service by running
the following command.
Restart-Service MSExchangeTransport
Powershell script to check spam reports form blocked messages
Get-AgentLog | Where {$_.Action -ne ”AcceptMessage” -and $_.IPAddress -ne $() } | Group-Object Reason | ft count,name -Autosize
Get-AgentLog | Where {$_.Action -ne ”AcceptMessage” -and $_.IPAddress -ne $() } | Group-Object Agent | ft count,name -AutoSize
Get-AgentLog | Where {$_.Action -ne ”AcceptMessage” -and $_.IPAddress -ne $() } | Group-Object Recipients| ft count,name -AutoSize
Get-AgentLog | Where {$_.Action -ne ”AcceptMessage” -and $_.IPAddress -ne $() }
Get-AgentLog | Where {$_.Action -ne ”AcceptMessage” -and $_.IPAddress -ne $() } | Group-Object Agent | ft count,name -AutoSize
Get-AgentLog | Where {$_.Action -ne ”AcceptMessage” -and $_.IPAddress -ne $() } | Group-Object Recipients| ft count,name -AutoSize
Get-AgentLog | Where {$_.Action -ne ”AcceptMessage” -and $_.IPAddress -ne $() }
Whitelisting:
Set-ContentFilterConfig -BypassedSenders Sender1@test.com,Sender2@test.se
Set-ContentFilterConfig -BypassedSenders Sender1@test.com,Sender2@test.se
Visa whitelistingen med:
Get-ContentFilterConfig
Get-ContentFilterConfig


