CmdID / PowerShell / Cmdlets / New
New-CsMainlineAttendantSpamDetectionTemplate
The New-CsMainlineAttendantSpamDetectionTemplate cmdlet creates a new spam detection template. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 7 parameters Its page in the reference
Parameters
-NameThe name of the spam detection template.-DescriptionThe description for the spam detection template.-EnableSpamDetectionIs spam detection enabled for this template.-ActionThe action to take if the call is spam.-CallTargetThe call target when -Action is set to TransferCallToTarget.-InclusionScopeA list of e.164 formatted phone numbers that will always be considered as spam.-ExclusionScopeA list of e.164 formatted phone numbers that will never be considered as spam.