How to use Classic Azure Express Route Powershell

get-module

####### #Import the required Azure Powershell program modules 
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'  

#Get the publish settings file for the master Express Route Subscription 
login-azurermaccount

Import-AzurePublishSettingsFile $PublishSettings 
#Change to the Master Subscription 

$Subscription = "subscfriptionname" 
Select-AzureSubscription -SubscriptionName $Subscription 
#Get the Service Key 
Get-AzureDedicatedCircuitlink -ServiceKey   #***  # This should show all the existing links provisioned on the ExpressRoute Circuit 


# Use the following command to list all the Authorisations currently associated with the ExpressRoute circuit 
# If required use the Remove Authorization commend to tidy up any authorisations with unused links 

Get-AzureDedicatedCircuitLinkAuthorization -ServiceKey *** # This should show all the existing authorisations