Edit

Remove-CsMainlineAttendantSpamDetectionTemplate

Deletes a Teams Phone Agent (Mainline Attendant) Spam Detection template.

Syntax

Default (Default)

Remove-CsMainlineAttendantSpamDetectionTemplate
    -Id <Guid>
    [<CommonParameters>]

Description

Use the Remove-CsMainlineAttendantSpamDetectionTemplate cmdlet to delete a Teams Phone Agent (Mainline Attendant) template.

Examples

Example 1

Remove-CsMainlineAttendantSpamDetectionTemplate -Id 5e3a575e-1faa-49ff-83c2-5cf1c36c0e02

This example deletes the Teams Phone Agent (Mainline Attendant) template with the id 5e3a575e-1faa-49ff-83c2-5cf1c36c0e02. If no Spam Detection template exists with the identity 5e3a575e-1faa-49ff-83c2-5cf1c36c0e02, then this example generates an error.

Parameters

-Id

The Id parameter is the unique identifier assigned to the Spam Detection template.

Parameter properties

Type:Guid
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.

Inputs

None

Outputs

Microsoft.Rtc.Management.OAA.Models.AutoAttendant