편집

다음을 통해 공유


Remove-CsTeamsSharedCallingRoutingPolicy

Deletes an existing Teams shared calling routing policy instance.

Syntax

Remove-CsTeamsSharedCallingRoutingPolicy
      [-Identity] <string>
      [-Force]
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

TeamsSharedCallingRoutingPolicy is used to configure shared calling.

Examples

EXAMPLE 1

Remove-CsTeamsSharedCallingRoutingPolicy -Identity "Seattle"

The command shown in Example 1 deletes the Teams shared calling routing policy instance Seattle.

EXAMPLE 2

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

In Example 2, all Teams shared calling routing policies configured at the per-user scope are removed. To do this, the command first calls the Get-CsTeamsSharedCallingRoutingPolicy cmdlet along with the Filter parameter; the filter value "tag:*" limits the returned data to Teams shared calling routing policies configured at the per-user scope. Those per-user policies are then piped to and removed by the Remove-CsTeamsSharedCallingRoutingPolicy 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

-Force

Suppresses any confirmation prompts that would otherwise be displayed before making changes.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Microsoft Teams

-Identity

Unique identifier assigned to the policy when it is created.

Type:String
Position:Named
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

Notes

This cmdlet was introduced in Teams PowerShell Module 5.5.0.