CmdID / PowerShell / Cmdlets / Set
Set-SenderFilterConfig
Use the Set-SenderFilterConfig cmdlet to modify the Sender Filter agent configuration. Exchange PowerShell reference
From the Exchange PowerShell reference 12 parameters Its page in the reference
Parameters
-ActionThe Action parameter specifies the action that the Sender Filter agent takes on messages from blocked senders or domains.-BlankSenderBlockingEnabledThe BlankSenderBlockingEnabled parameter blocks or allows messages that don't contain a sender value in the SMTP command MAIL FROM.-BlockedDomainsThe BlockedDomains parameter specifies the domain names to block.-BlockedDomainsAndSubdomainsThe BlockedDomainsAndSubdomains parameter specifies the domain names to block.-BlockedSendersThe BlockedSenders parameter specifies one or more SMTP email addresses to block.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-EnabledThe Enabled parameter enables or disables sender filtering on your Exchange server.-ExternalMailEnabledThe ExternalMailEnabled parameter enables or disables sender filtering on unauthenticated connections from external messaging servers.-InternalMailEnabledThe InternalMailEnabled parameter enables or disables sender filtering on authenticated connections from authoritative domains in your organization.-RecipientBlockedSenderActionThe RecipientBlockedSenderAction parameter specifies the action that the Sender Filter agent takes on messages received from blocked senders that are defined by SafeList aggregation.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.