編輯

共用方式為


Get-CsInboundExemptNumberPattern

Returns a specific or the full list of all number patterns exempt from call blocking.

Syntax

Get-CsInboundExemptNumberPattern
   [[-Identity] <string>]
   [<CommonParameters>]
Get-CsInboundExemptNumberPattern
   [-Filter <string>]
   [<CommonParameters>]

Description

This cmdlet returns a specific or all exempt number patterns added to the tenant list for call blocking including Name, Description, Enabled (True/False), and Pattern for each.

Examples

Example 1

PS>Get-CsInboundExemptNumberPattern

This returns all exempt number patterns.

Example 2

PS>Get-CsInboundExemptNumberPattern -Identity "Exempt1"

This returns the exempt number patterns with Identity Exempt1.

Example 3

PS>Get-CsInboundExemptNumberPattern -Filter "Exempt*"

This example returns the exempt number patterns with Identity starting with Exempt.

Parameters

-Filter

Enables you to limit the returned data by filtering on Identity.

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