編輯

共用方式為


Get-CsInboundBlockedNumberPattern

Returns a list of all blocked number patterns added to the tenant list.

Syntax

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

Description

This cmdlet returns a list of all blocked number patterns added to the tenant list including Name, Description, Enabled (True/False), and Pattern for each.

Examples

Example 1

PS> Get-CsInboundBlockedNumberPattern

In this example, the Get-CsInboundBlockedNumberPattern cmdlet is called without any parameters in order to return all the blocked number patterns.

Example 2

PS> Get-CsInboundBlockedNumberPattern -Filter Block*

In this example, the Get-CsInboundBlockedNumberPattern cmdlet will return all the blocked number patterns which identity starts with Block.

Parameters

-Filter

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

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

-Identity

Indicates the Identity of the blocked number patterns to return.

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