< Back

Set-AzureRmExpressRouteCircuit

Tue Jan 29, 2019 9:58 pm

NAME Set-AzureRmExpressRouteCircuit



SYNOPSIS

Modifies an ExpressRoute circuit.





SYNTAX

Set-AzureRmExpressRouteCircuit [-AsJob] [-DefaultProfile <IAzureContextContainer>] -ExpressRouteCircuit <PSExpressRouteCircuit>

[<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-AsJob [<SwitchParameter>]

Run cmdlet in the background



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



-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>

Specifies the ExpressRouteCircuit object that this cmdlet modifies.



Required? true

Position? named

Default value None

Accept pipeline input? True (ByValue)

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: 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











RELATED LINKS

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

Get-AzureRmExpressRouteCircuit

Move-AzureRmExpressRouteCircuit

New-AzureRmExpressRouteCircuit

Remove-AzureRmExpressRouteCircuit