Edit

Share via


Get-CsInboundBlockedNumberPattern

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

Syntax

Identity (Default)

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

Filter

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.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Filter
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Identity

Indicates the Identity of the blocked number patterns to return.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

Identity
Position:1
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.