CmdID / PowerShell / Cmdlets / Set
Set-MalwareFilteringServer
Use the Set-MalwareFilteringServer cmdlet to configure the Malware agent settings in the Transport service on a Mailbox server. Exchange PowerShell reference
From the Exchange PowerShell reference 15 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the server where you want to configure the anti-malware settings.-BypassFilteringThe BypassFiltering parameter temporarily bypasses malware filtering without disabling the Malware agent on the server.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DeferAttemptsThe DeferAttempts parameter specifies the maximum number of times to defer a message that can't be scanned by the Malware agent.-DeferWaitTimeThe DeferWaitTime parameter specifies the time period in minutes to increase the interval to resubmit messages for malware filtering in an effort to reduce the workload on the server.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-ForceRescanThe ForceRescan parameter specifies that messages should be scanned by the malware agent, even if the message was already scanned by cloud-based protection.-MinimumSuccessfulEngineScansThis parameter is reserved for internal Microsoft use.-PrimaryUpdatePathThe PrimaryUpdatePath parameter specifies where to download malware scanning engine updates.-ScanErrorActionThe ScanErrorAction parameter specifies the action to take when a message can't be scanned by the malware filter.-ScanTimeoutThe ScanTimeout parameter specifies the timeout interval in seconds for messages that can't be scanned by the malware filter.-SecondaryUpdatePathThe SecondaryUpdatePath parameter specifies an alternate download location for malware scanning engine updates.-UpdateFrequencyThe UpdateFrequency parameter specifies the frequency interval in minutes to check for malware scanning engine updates.-UpdateTimeoutThe UpdateTimeout parameter specifies the timeout interval in seconds to use when checking for malware scanning engine updates.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.