Get-CsOnlinePstnUsage
Returns information about online public switched telephone network (PSTN) usage records used in your tenant.
Syntax
Identity (Default)
Get-CsOnlinePstnUsage
[[-Identity] <string>]
[<CommonParameters>]
Filter
Get-CsOnlinePstnUsage
[-Filter <string>]
[<CommonParameters>]
Description
Online PSTN usages are string values that are used for call authorization. An online PSTN usage links an online voice policy to a route. The Get-CsOnlinePstnUsage
cmdlet retrieves the list of all online PSTN usages available within a tenant.
This cmdlet is used when configuring Microsoft Phone System Direct Routing.
Examples
Example 1
PS C:\> Get-CSOnlinePSTNUsage
This command returns the list of global PSTN usages available within the tenant.
Parameters
-Filter
The Filter parameter allows you to retrieve only those PSTN usages with an Identity matching a particular wildcard string. However, the only Identity available to PSTN usages is Global, so this parameter is not useful for this cmdlet.
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
The level at which these settings are applied. The only identity that can be applied to PSTN usages is Global.
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.