CmdID

CmdID / PowerShell / Cmdlets / New

New-HostedOutboundSpamFilterRule

Use the New-HostedOutboundSpamFilterRule cmdlet to create outbound spam filter rules in your cloud-based organization. Exchange PowerShell reference

From the Exchange PowerShell reference 13 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

13 in the Exchange PowerShell reference
-NameThe Name parameter specifies a unique name for the outbound spam filter rule.
-HostedOutboundSpamFilterPolicyThe HostedOutboundSpamFilterPolicy parameter specifies the outbound spam filter policy that's associated with the outbound spam filter rule.
-CommentsThe Comments parameter specifies informative comments for the rule, such as what the rule is used for or how it has changed over time.
-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.
-EnabledThe Enabled parameter specifies whether the rule is enabled.
-ExceptIfFromThe ExceptIfFrom parameter specifies an exception that looks for messages from specific senders.
-ExceptIfFromMemberOfThe ExceptIfFromMemberOf parameter specifies an exception that looks for messages sent by group members.
-ExceptIfSenderDomainIsThe ExceptIfSenderDomainIs parameter specifies an exception that looks for senders with email address in the specified domains.
-FromThe From parameter specifies a condition that looks for messages from specific senders.
-FromMemberOfThe FromMemberOf parameter specifies a condition that looks for messages sent by group members.
-PriorityThe Priority parameter specifies a priority value for the rule that determines the order of rule processing.
-SenderDomainIsThe SenderDomainIs parameter specifies a condition that looks for senders with email address in the specified domains.
-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.