Commands › Exchange Online

Get-MalwareFilterPolicy

Exchange Online ExchangeOnlineManagement Get-*

View the malware filter policies in your organization.

Quick start script

# Get-MalwareFilterPolicy — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Run and inspect
Get-MalwareFilterPolicy | Format-List

# 3. Export for evidence / drift tracking
Get-MalwareFilterPolicy | Export-Clixml .\MalwareFilterPolicy-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-MalwareFilterPolicy [[-Identity] <MalwareFilterPolicyIdParameter>]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Identity MalwareFilterPolicyIdParameter The Identity parameter specifies the malware filter policy that you want to view. You can use any value that uniquely identifies the policy. For example, you can use the name, GUID or distinguished name (DN) of the...
-DomainController Fqdn This parameter is available only in on-premises Exchange.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.