CmdID / PowerShell / Cmdlets / Set
Set-ExoPhishSimOverrideRule
Use the Set-ExoPhishSimOverrideRule cmdlet to modify non-Microsoft phishing simulation override rules that bypass filtering. Exchange PowerShell reference
From the Exchange PowerShell reference 9 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the phishing simulation override rule that you want to modify.-AddDomainsThe AddDomains parameter specifies an existing entry to add to the list of email domains that are used by the non-Microsoft phishing simulation.-AddSenderIpRangesThe AddSenderIpRanges parameter specifies an existing entry to add to the list of source IP addresses that are used by the non-Microsoft phishing simulation.-CommentThe Comment parameter specifies an optional comment.-Confirm, -cfThe Confirm switch specifies whether to show or hide the confirmation prompt.-DomainControllerThis parameter is reserved for internal Microsoft use.-RemoveDomainsThe RemoveDomains parameter specifies an existing entry to remove from the list of email domains that are used by the non-Microsoft phishing simulation.-RemoveSenderIpRangesThe RemoveSenderIpRanges parameter specifies an existing entry to remove from the list of source IP addresses that are used by the non-Microsoft phishing simulation.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.