CmdID / PowerShell / Cmdlets / Set
Set-HostedOutboundSpamFilterPolicy
Use the Set-HostedOutboundSpamFilterPolicy cmdlet to modify outbound spam filter policies in your cloud-based organization. Exchange PowerShell reference
From the Exchange PowerShell reference 13 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the outbound spam filter policy you want to modify.-ActionWhenThresholdReachedThe ActionWhenThresholdReach parameter specifies the action to take when any of the limits specified in the policy are reached.-AdminDisplayNameThe AdminDisplayName parameter specifies a description for the policy.-AutoForwardingModeThe AutoForwardingMode specifies how the policy controls automatic email forwarding to external recipients.-BccSuspiciousOutboundAdditionalRecipientsThe BccSuspiciousOutboundAdditionalRecipients parameter specifies an email address to add to the Bcc field of outgoing spam messages.-BccSuspiciousOutboundMailThe BccSuspiciousOutboundMail parameter specifies whether to add recipients to the Bcc field of outgoing spam messages.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-NotifyOutboundSpamThe NotifyOutboundSpam parameter specify whether to notify admins when outgoing spam is detected.-NotifyOutboundSpamRecipientsThe NotifyOutboundSpamRecipients parameter specifies the email addresses of admins to notify when an outgoing spam is detected.-RecipientLimitExternalPerHourThe RecipientLimitExternalPerHour parameter specifies the maximum number of external recipients that a user can send to within an hour.-RecipientLimitInternalPerHourThe RecipientLimitInternalPerHour parameter specifies the maximum number of internal recipients that a user can send to within an hour.-RecipientLimitPerDayThe RecipientLimitPerDay parameter specifies the maximum number of recipients that a user can send to within a day.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.