CmdID / PowerShell / Cmdlets / New
New-ExoPhishSimOverrideRule
Use the New-ExoPhishSimOverrideRule cmdlet to create non-Microsoft phishing simulation override rules that bypass filtering. Exchange PowerShell reference
From the Exchange PowerShell reference 8 parameters Its page in the reference
Parameters
-PolicyThe Policy parameter specifies the phishing simulation override policy that's associated with the rule.-SenderIpRangesThe SenderIpRanges parameter specifies the source IP address that's 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.-DomainsThe Domains parameter specifies the email domain that's used by the non-Microsoft phishing simulation.-NameThe Name parameter specifies the name for the policy.-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.