Created
July 7, 2015 04:24
-
-
Save andreaswasita/77329a14e403d106c8a6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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