Set-CsMainlineAttendantSpamDetectionTemplate
Use the Set-CsMainlineAttendantSpamDetectionTemplate cmdlet to change a Spam Detection template.
Syntax
Default (Default)
Set-CsMainlineAttendantSpamDetectionTemplate
-Instance <instance>
[<CommonParameters>]
Description
Use the Set-CsMainlineAttendantSpamDetectionTemplate cmdlet to change a Spam Detection template.
Examples
Example 1
$SpamDetection = Get-CsMainlineAttendantSpamDetectionTemplate -Id 66f0dc32-d344-4bb1-b524-027d4635515d
$SpamDetection.Action = "TransferCallToOperator"
Set-CsMainlineAttendantSpamDetectionTemplate -Instance $SpamDetection
This example sets the Action value in the Spam Detection Template with the Id 66f0dc32-d344-4bb1-b524-027d4635515d
Parameters
-Instance
The instance of the shared call history template to change.
Parameter properties
| Type: | System.String |
| Default value: | None |
| Supports wildcards: | False |
| DontShow: | False |
Parameter sets
(All)
| Position: | Named |
| Mandatory: | True |
| Value from pipeline: | False |
| Value from pipeline by property name: | False |
| Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.