< Back

Remove-AzureRmExpressRouteCircuitPeeringConfig

Tue Jan 29, 2019 9:57 pm

NAME Remove-AzureRmExpressRouteCircuitPeeringConfig



SYNOPSIS

Removes an ExpressRoute circuit peering configuration.





SYNTAX

Remove-AzureRmExpressRouteCircuitPeeringConfig [-DefaultProfile <IAzureContextContainer>] -ExpressRouteCircuit <PSExpressRouteCircuit> [-Name

<String>] [-PeerAddressType {IPv4 | IPv6 | All}] [<CommonParameters>]





DESCRIPTION

The Remove-AzureRmExpressRouteCircuitPeeringConfig cmdlet removes an ExpressRoute circuit peering configuration.





PARAMETERS

-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-ExpressRouteCircuit <PSExpressRouteCircuit>

The ExpressRoute circuit containing the peering configuration to be removed.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-Name <String>

The name of the peering configuration to be removed.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PeerAddressType <String>

The Address family of the peering



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

PSExpressRouteCircuit

Parameter 'ExpressRouteCircuit' accepts value of type 'PSExpressRouteCircuit' from the pipeline





OUTPUTS

Microsoft.Azure.Commands.Network.Models.PSExpressRouteCircuit







NOTES









Example 1: Remove a peering configuration from an ExpressRoute circuit



$circuit = Get-AzureRmExpressRouteCircuit -Name $CircuitName -ResourceGroupName $rg

Remove-AzureRmExpressRouteCircuitPeeringConfig -Name 'AzurePrivatePeering' -ExpressRouteCircuit $circuit

Set-AzureRmExpressRouteCircuit -ExpressRouteCircuit $circuit











RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ringconfig

Add-AzureRmExpressRouteCircuitPeeringConfig

Get-AzureRmExpressRouteCircuit

New-AzureRmExpressRouteCircuitPeeringConfig

Set-AzureRmExpressRouteCircuit