Edit

Share via


Get-CsInboundExemptNumberPattern

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

Syntax

Identity (Default)

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

Filter

Get-CsInboundBlockedNumberPattern
    [-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.

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

Unique identifier for the exempt number pattern to be listed.

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.

Notes

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