Get-CsTenantBlockedCallingNumbers
Use the Get-CsTenantBlockedCallingNumbers cmdlet to retrieve tenant blocked calling numbers setting.
Syntax
Get-CsTenantBlockedCallingNumbers
[[-Identity] <String>]
[-MsftInternalProcessingMode <String>]
[<CommonParameters>]
Get-CsTenantBlockedCallingNumbers
[-Filter <String>]
[-MsftInternalProcessingMode <String>]
[<CommonParameters>]
Description
Microsoft Direct Routing, Operator Connect and Calling Plans supports blocking of inbound calls from the public switched telephone network (PSTN). This feature allows a tenant-global list of number patterns to be defined so that the caller ID of every incoming PSTN call to the tenant can be checked against the list for a match. If a match is made, an incoming call is rejected.
The tenant blocked calling numbers includes a list of inbound blocked number patterns. Number patterns are managed through the CsInboundBlockedNumberPattern commands New, Get, Set, and Remove. You can manage a given pattern by using these cmdlets, including the ability to toggle the activation of a given pattern.
You can also configure a list of number patterns to be exempt from call blocking. Exempt number patterns are managed through the CsInboundExemptNumberPattern commands New, Get, Set, and Remove.
You can test your call blocking by using the command Test-CsInboundBlockedNumberPattern.
The scope of tenant blocked calling numbers is global across the given tenant.
Examples
-------------------------- Example 1 --------------------------
Get-CsTenantBlockedCallingNumbers
This example returns the tenant global settings for blocked calling numbers. It includes a list of inbound blocked number patterns and exempt number patterns.
Parameters
-Filter
The Filter parameter allows you to limit the number of results based on filters you specify.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Identity
The Identity parameter is a unique identifier that designates the scope, and for per-user scope a name, which identifies the TenantBlockedCallingNumbers to retrieve.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-MsftInternalProcessingMode
Internal Microsoft use only.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
System.Object