Hi,
I have written a script which automatically creates VMs.
The script makes use of the Get-AzureWinRMUri command which gives a PORT number of 59259.
When I try to RDP on to the VM using PORT 59259, I get an error, however when I RDP on to the VM using port 53617 I get through!
I'm not sure why the Get-AzureWinRMUri gives me a port that does not work. The only reason I know about the correct port is by going into the azure management portal and clicking CONNECT on the VM which donwloads an RDP file.
Any help, will be appreciated.
Thanks.