CmdID

CmdID / PowerShell / Cmdlets / New

New-TeamsProtectionPolicyRule

Use the New-TeamsProtectionPolicyRule cmdlet to create Microsoft Teams protection policy rules. Exchange PowerShell reference

From the Exchange PowerShell reference 10 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

10 in the Exchange PowerShell reference
-NameThe Name parameter specifies the unique name of the Teams protection policy rule.
-TeamsProtectionPolicyThe TeamsProtectionPolicy parameter specifies the Teams protection policy that's associated with this rule.
-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.
-EnabledThis parameter is reserved for internal Microsoft use.
-ExceptIfRecipientDomainIsThe ExceptIfRecipientDomainIs parameter specifies an exception to ZAP for Teams protection that looks for recipients of Teams messages with email addresses in the specified domains.
-ExceptIfSentToThe ExceptIfSentTo parameter specifies an exception to ZAP for Teams protection that looks for recipients of Teams messages.
-ExceptIfSentToMemberOfThe ExceptIfSentToMemberOf parameter specifies an exception to ZAP for Teams protection that looks for Teams messages sent to members of distribution groups or mail-enabled security groups.
-OrganizationThis parameter is reserved for internal Microsoft use.
-WhatIf, -wiThe WhatIf switch shows what the command does without making any changes.