Skip to content

Instantly share code, notes, and snippets.

@andreaswasita
Created July 7, 2015 04:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andreaswasita/77329a14e403d106c8a6 to your computer and use it in GitHub Desktop.
Save andreaswasita/77329a14e403d106c8a6 to your computer and use it in GitHub Desktop.
#Import Azure and ExpressRoute Module
Import-Module 'C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ServiceManagement\Azure\Azure.psd1'
Import-Module 'C:\Program Files (x86)\Microsoft SDKs\Azure\PowerShell\ServiceManagement\Azure\ExpressRoute\ExpressRoute.psd1'
#Creating a new circuit
$Bandwidth = 200
$CircuitName = "EquinixPublic"
$ServiceProvider = "Equinix"
$Location = "Sydney"
New-AzureDedicatedCircuit -CircuitName $CircuitName -ServiceProviderName $ServiceProvider -Bandwidth $Bandwidth -Location $Location
#Getting service key
Get-AzureDedicatedCircuit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment