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

Modifies an ExpressRoute circuit.

Syntax

Set-AzureRmExpressRouteCircuit
   -ExpressRouteCircuit <PSExpressRouteCircuit>
   [-InformationAction <ActionPreference>]
   [-InformationVariable <String>]
   [<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

Optional Parameters

-InformationAction

Specifies how this cmdlet responds to an information event.The acceptable values for this parameter are:- Continue

  • Ignore
  • Inquire
  • SilentlyContinue
  • Stop
  • Suspend
Type:ActionPreference
Aliases:infa
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InformationVariable

Specifies an information variable.

Type:String
Aliases:iv
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False