*export-exchange-content-filters.ps1 - экспорт настроек фильтров из MS Exchange

"Connent Filter" >c:\temp\antispamsettings.txt
Get-ContentFilterConfig | fl | Out-File -Append c:\temp\antispamsettings.txt
 
"Sender Filter" | Out-File -Append c:\temp\antispamsettings.txt
Get-SenderFilterConfig | fl | Out-File -Append c:\temp\antispamsettings.txt
 
"Sender ID" | Out-File -Append c:\temp\antispamsettings.txt
Get-SenderIDConfig | fl | Out-File -Append c:\temp\antispamsettings.txt
 
"Sender Reputation" | Out-File -Append c:\temp\antispamsettings.txt
Get-SenderReputationConfig | fl | Out-File -Append c:\temp\antispamsettings.txt
 
"Recipient Filter" | Out-File -Append c:\temp\antispamsettings.txt
Get-RecipientFilterConfig | fl | Out-File -Append c:\temp\antispamsettings.txt
 
"IP Block List" | Out-File -Append c:\temp\antispamsettings.txt
Get-IPBlockListEntry | fl | Out-File -Append c:\temp\antispamsettings.txt
Get-IPBlockListConfig | fl | Out-File -Append c:\temp\antispamsettings.txt
 
"IP Block List Provider" | Out-File -Append c:\temp\antispamsettings.txt
Get-IPBlockListProvider | fl | Out-File -Append c:\temp\antispamsettings.txt
Get-IPBlockListProvidersConfig | fl | Out-File -Append c:\temp\antispamsettings.txt
 
"IP Allow List" | Out-File -Append c:\temp\antispamsettings.txt
Get-IPAllowListEntry | fl | Out-File -Append c:\temp\antispamsettings.txt
Get-IPAllowListConfig | fl | Out-File -Append c:\temp\antispamsettings.txt
 
"IP Allow List Provider" | Out-File -Append c:\temp\antispamsettings.txt
Get-IPAllowListProvider | fl | Out-File -Append c:\temp\antispamsettings.txt
Get-IPAllowListProvidersConfig | fl | Out-File -Append c:\temp\antispamsettings.txt
knowledge_base/windows/powershell/export-exchange-content-filters.ps1.txt · Последнее изменение: 2023/02/28 05:02 — tuduf
© 2023 knowledge base by tuduf.ru