Modifier

Partager via


Remove-CsTeamsVoiceApplicationsPolicy

Deletes an existing Teams voice applications policy.

Syntax

Remove-CsTeamsVoiceApplicationsPolicy
      [-Identity] <String>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

TeamsVoiceApplicationsPolicy is used for Supervisor Delegated Administration which allows tenant admins to permit certain users to make changes to auto attendant and call queue configurations.

Examples

EXAMPLE 1

Remove-CsTeamsVoiceApplicationsPolicy -Identity "SDA-Allow-All"

The command shown in Example 1 deletes the Teams voice applications policy SDA-Allow-All.

EXAMPLE 2

Get-CsTeamsVoiceApplicationsPolicy -Filter "tag:*" | Remove-CsTeamsVoiceApplicationsPolicy

In Example 2, all Teams voice applications policies configured at the per-user scope are removed. To do this, the command first calls the Get-CsTeamsVoiceApplicationsPolicy cmdlet along with the Filter parameter; the filter value "tag:*" limits the returned data to Teams voice applications policies configured at the per-user scope. Those per-user policies are then piped to and removed by the Remove-CsTeamsVoiceApplicationsPolicy cmdlet.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Identity

Unique identifier assigned to the policy when it was created.

Type:String
Position:2
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.String

Outputs

System.Object