Remove-CsTenantNetworkSubnet

Use the Remove-CsTenantNetworkSubnet cmdlet to remove a tenant network subnet.

Syntax

Remove-CsTenantNetworkSubnet
      [-Identity] <string>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-CsTenantNetworkSubnet cmdlet removes an existing tenant network subnet.

IP subnets at the location where Teams endpoints can connect to the network must be defined and associated to a defined network in order to enforce toll bypass. Multiple subnets may be associated with the same network site, but multiple sites may not be associated with a same subnet. This association of subnets enables Location-Based routing to locate the endpoints geographically to determine if a given PSTN call should be allowed.

Examples

Example 1

PS C:\> Remove-CsTenantNetworkSubnet -Identity "192.168.0.1"

The command shown in Example 1 removes '192.168.0.1'.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Identity

Unique identifier for the network subnet to be removed.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False