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

Remove-CsOnlinePSTNGateway
      -Identity <SBCFQDN>

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.

Example 2

PS C:\> Remove-CsOnlinePSTNGateway | ?{$_.Identity -like "*.contoso.com"}

This example removes the SBCs with identities (and FQDNs) matching the pattern *.contoso.com. For example: sbc1.contoso.com, sbc2.contoso.com etc.

Parameters

-Identity

The parameter is mandatory for the cmdlet. The Identity is the same as the SBC FQDN.

Type:XdsGlobalRelativeIdentity
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

Inputs

Microsoft.Rtc.Management.Xds.XdsGlobalRelativeIdentity

Outputs

System.Object