Get-CsInboundExemptNumberPattern

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

Syntax

Get-CsInboundExemptNumberPattern
   [[-Identity] <XdsGlobalRelativeIdentity>]
   [-Tenant <Guid>]
   [-Filter <Object>]
   [-LocalStore]
   [<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

Get-CsInboundExemptNumberPattern

This returns all exempt number patterns.

Example 2

Get-CsInboundExemptNumberPattern -Identity "Exempt1"

This returns the exempt number patterns with Identity Exempt1.

Parameters

-Filter

Enables you to limit the returned data by filtering on specific attributes. The Filter parameter uses the same Windows PowerShell filtering syntax that is used by the Where-Object cmdlet.

Type:Object
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Identity

Unique identifier for the exempt number pattern to be listed.

Type:XdsGlobalRelativeIdentity
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-LocalStore

This parameter is reserved for internal Microsoft use.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Tenant

This parameter is reserved for internal Microsoft use.

Type:System.Guid
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object

Notes

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