Remove-CsOnlinePSTNGateway
Removes the configuration of the previously defined Session Border Controller(s) (SBC(s)) that describes the settings for the peer entity. This cmdlet was introduced with Microsoft Phone System Direct Routing.
Syntax
Default (Default)
Remove-CsOnlinePSTNGateway
[-Identity] <string>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Use this cmdlet to remove the configuration of the previously created Session Border Controller(s) (SBC(s)) configuration. Note the SBC must be removed from all voice routes before executing this cmdlet.
Examples
Example 1
PS C:\> Remove-CsOnlinePSTNGateway -Identity sbc.contoso.com
This example removes SBC with Identity (and FQDN) sbc.contoso.com.
Parameters
-Identity
Applicable: Microsoft Teams
The parameter is mandatory for the cmdlet. The Identity is the same as the SBC FQDN.
Parameter properties
Type: | String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
Identity
Position: | 1 |
Mandatory: | True |
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.