CmdID / PowerShell / Cmdlets / Set
Set-MalwareFilterPolicy
Use the Set-MalwareFilterPolicy cmdlet to modify malware filter policies in your organization. Exchange PowerShell reference
From the Exchange PowerShell reference 29 parameters Its page in the reference
Parameters
Show its 29 parameters
-IdentityThe Identity parameter specifies the malware filter policy you want to modify.-ActionThe Action parameter specifies the action to take when malware is detected in a message.-AdminDisplayNameThe AdminDisplayName parameter specifies a description for the policy.-BypassInboundMessagesThe BypassInboundMessages parameter enables or disables malware filtering on incoming messages (messages entering the organization).-BypassOutboundMessagesThe BypassOutboundMessages parameter enables or disables malware filtering on outgoing messages (messages leaving the organization).-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-CustomAlertTextThe CustomAlertText parameter specifies the custom text to use in the replacement attachment named Malware Alert Text.txt.-CustomExternalBodyThe CustomExternalBody parameter specifies the custom body to use in notification messages for malware detections in messages from external senders.-CustomExternalSubjectThe CustomExternalSubject parameter specifies the custom subject to use in notification messages for malware detections in messages from external senders.-CustomFromAddressThe CustomFromAddress parameter specifies the custom From address to use in notification messages for malware detections in messages from internal or external senders.-CustomFromNameThe CustomFromName parameter specifies the custom From name to use in notification messages for malware detections in messages from internal or external senders.-CustomInternalBodyThe CustomInternalBody parameter specifies the custom body to use in notification messages for malware detections in messages from internal senders.-CustomInternalSubjectThe CustomInternalSubject parameter specifies the custom subject to use in notification messages for malware detections in messages from internal senders.-CustomNotificationsThe CustomNotifications parameter enables or disables the customization of notification messages for malware detections.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-EnableExternalSenderAdminNotificationsThe EnableExternalSenderAdminNotifications parameter enables or disables sending notification messages to an administrator for malware detections in messages from internal senders.-EnableExternalSenderNotificationsThe EnableExternalSenderNotifications parameter enables or disables sending notification messages to external senders for malware detections in their messages.-EnableFileFilterThe EnableFileFilter parameter enables or disables the common attachments filter (also known as common attachment blocking).-EnableInternalSenderAdminNotificationsThe EnableInternalSenderAdminNotifications parameter enables or disables sending notification messages to an administrator for malware detections in messages from internal senders.-EnableInternalSenderNotificationsThe EnableInternalSenderNotifications parameter enables or disables sending notification messages to internal senders for malware detections in their messages.-ExternalSenderAdminAddressThe ExternalSenderAdminAddress parameter specifies the email address of the administrator who receives notifications messages for malware detections in messages from external senders.-FileTypeActionThe FileTypeAction parameter specifies what happens to messages that contain one or more attachments where the file extension is included in the FileTypes parameter (the common attachments filter).-FileTypesThe FileTypes parameter specifies the file types that are automatically blocked by the common attachments filter, regardless of content.-InternalSenderAdminAddressThe InternalSenderAdminAddress parameter specifies the email address of the administrator who receives notifications messages for malware detections in messages from internal senders.-IsPolicyOverrideAppliedThis parameter is reserved for internal Microsoft use.-MakeDefaultThe MakeDefault switch makes this malware filter policy the default policy.-QuarantineTagThe QuarantineTag parameter specifies the quarantine policy that's used on messages that are quarantined as malware.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.-ZapEnabledThe ZapEnabled parameter enables or disables zero-hour auto purge (ZAP) for malware in cloud mailboxes.