CmdID / PowerShell / Cmdlets / Set
Set-EOPProtectionPolicyRule
Use the Set-EOPProtectionPolicyRule cmdlet to modify rules associated with the built-in security features for all cloud mailboxes in preset security policies. Exchange PowerShell reference
From the Exchange PowerShell reference 12 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the rule that you want to view.-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.-ExceptIfRecipientDomainIsThe ExceptIfRecipientDomainIs parameter specifies an exception that looks for recipients with email addresses in the specified domains.-ExceptIfSentToThe ExceptIfSentTo parameter specifies an exception that looks for recipients in messages.-ExceptIfSentToMemberOfThe ExceptIfSentToMemberOf parameter specifies an exception that looks for messages sent to members of groups.-NameThe Name parameter specifies a unique name for the rule.-PriorityThe Priority parameter specifies a priority value for the rule that determines the order of rule processing.-RecipientDomainIsThe RecipientDomainIs parameter specifies a condition that looks for recipients with email addresses in the specified domains.-SentToThe SentTo parameter specifies a condition that looks for recipients in messages.-SentToMemberOfThe SentToMemberOf parameter specifies a condition that looks for messages sent to members of distribution groups, dynamic distribution groups, or mail-enabled security groups.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.