Adding muliple endpoints on Microsoft Azure

Need to open a broad range of ports on Microsoft Azure?  You can use the Azure Powershell.

First download the Powershell – Azure Powershell Download

Then after setting your subscription and logging in  you can run the following command.  Feel free to play around with the ports;
$vm = Get-AzureVM -ServiceName YOURSERVERNAMEHERE -Name YOURSERVERNAMEHERE ; 15000..15100 | ForEach { $VM | Add-AzureEndpoint -Name TCPPort$_ -Protocol TCP -LocalPort $_ -PublicPort $_} ; $vm | Update-AzureVM

You can only open 150 ports at a time, if you need more than that you should go with an instance level IP address.