編輯

共用方式為


Remove-CsTeamsCallingPolicy

Syntax

Remove-CsTeamsCallingPolicy
      [-Identity] <string>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

This cmdlet removes an existing Teams Calling Policy instance or resets the Global policy instance to the default values.

Examples

Example 1

PS C:\> Remove-CsTeamsCallingPolicy -Identity Sales

This example removes the Teams Calling Policy with identity Sales

Example 2

PS C:\> Remove-CsTeamsCallingPolicy -Identity Global

This example resets the Global Policy instance to the default values.

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

The Identity parameter is the unique identifier of the Teams Calling Policy instance to remove or reset.

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

Outputs

System.Object