CmdID / PowerShell / Cmdlets / Set
Set-ATPBuiltInProtectionRule
Use the Set-ATPBuiltInProtectionRule cmdlet to modify the rule for the Built-in protection preset security policy that effectively provides default policies for Safe Links and Safe Attachments in Microsoft Defender for… Exchange PowerShell reference
From the Exchange PowerShell reference 7 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the rule that you want to modify.-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.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.