編輯

共用方式為


Remove-CsInboundExemptNumberPattern

Removes a number pattern exempt from call blocking.

Syntax

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

Description

This cmdlet removes a specific exempt number pattern from the tenant list for call blocking.

Examples

Example 1

PS>Remove-CsInboundExemptNumberPattern -Identity "Exempt1"

This removes the exempt number patterns with Identity Exempt1.

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 for the exempt number pattern to be listed.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:False
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

You can use Test-CsInboundBlockedNumberPattern to test your call block and exempt phone number ranges.