Quantcast
Channel: Azure Virtual Machines forum
Viewing all articles
Browse latest Browse all 12545

Windows Azure power shell command to access the VM.

$
0
0

Hi,

I have few windows instances hosted in Windows azure. I have remote desktop, powershell, and https endpoints enabled.

i am not able to connect to the instances via rdp file. It seems some security policy is restricted for the instances.

I do not have access to that instances in any way. I tried the powershell command "Enter-PSSession -ComputerName hostname.cloudapp.net -Port 5986 -Credential Username -UseSSL" but i am getting the below error:

Enter-PSSession : Connecting to remote server jliddbds001.cloudapp.net failed with the following error message :WinRM

cannot complete the operation. Verify that the specified computer name is valid, that the computer is accessible over
the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer. By
default, the WinRM firewall exception for public profiles limits access to remote computers within the same local
subnet. For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ Enter-PSSession -ComputerName jliddbds001.cloudapp.net -Port 5986 -Credential jl ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (jliddbds001.cloudapp.net:String) [Enter-PSSession], PSRemotingTranspor
   tException
    + FullyQualifiedErrorId : CreateRemoteRunspaceFailed

Can any experts please help me to resolve the issue or please suggest a solution to  login to the server anyway.

Regards,

Sudheesh M A


Viewing all articles
Browse latest Browse all 12545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>