https://sqldbawithabeard.com/2013/12/02/using-powershell-to-get-azure-endpoint-ports/
Using PowerShell to get Azure Endpoint Ports