Set-​Azure​Rm​Express​Route​Circuit

Modifies an ExpressRoute circuit.

Syntax

Set-AzureRmExpressRouteCircuit
   -ExpressRouteCircuit <PSExpressRouteCircuit>
   [<CommonParameters>]

Description

The Set-AzureRmExpressRouteCircuit cmdlet saves the modified ExpressRoute circuit to Azure.

Examples

Example 1: Change the ServiceKey of an ExpressRoute circuit

$ckt = Get-AzureRmExpressRouteCircuit -Name $CircuitName -ResourceGroupName $rg
$ckt.ServiceKey = '64ce99dd-ee70-4e74-b6b8-91c6307433a0'
Set-AzureRmExpressRouteCircuit -ExpressRouteCircuit $ckt

Required Parameters

-ExpressRouteCircuit

Specifies the ExpressRouteCircuit object that this cmdlet modifies.

Type:PSExpressRouteCircuit
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False