This output looks like this (of course formatted) . Please let me know your suggestion:

C:\Users\ANU>azure vm endpoint list DNSPREFIX1
info:    Executing command vm endpoint list
Fetching VM
data:    Name                             Protocol  Public Port  Private Port  Load Balanced

data:    --------------                    --------      -----------     ------------      -------------
data:    endpname-85-85         tcp                 85                    85                    Yes
data:    ssh                                     tcp                 22                     22                    No

If i include all information about an endpoint then it will not fit in a line, that why we enabled more info through  --json option:

C:\Users\ANU>azure vm endpoint list DNSPREFIX1 --json
[
  {
    "LoadBalancedEndpointSetName": "lbportInOut",
    "LocalPort": "85",
    "Name": "endpname-85-85",
    "Port": "85",
    "LoadBalancerProbe": {
      "Path": "/",
      "Port": "85",
      "Protocol": "http"
    },
    "Protocol": "tcp"
  },
  {
    "LocalPort": "22",
    "Name": "ssh",
    "Port": "22",
    "Protocol": "tcp"
  }
]