Could not connect to win2016 server to VM using remote powershell

Dear team

I made several attempts to connect win2016 VM to communicate remotely with PS fails the following is the error

Enter-PSSession : Connecting to remote server sra 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.

i try all basic troubleshooting winrm and wsman

is there any step by step process

August 20th, 2015 12:14pm

Assuming that your computers are joined to Domain so it can use Kerberos authentication.

First enable the listeners by cmd  winrm enumerate winrm/config/listener

if you see your lan ips on the screen mean its is enabled then run the following command at remote server

verify winrm quickconfig

set-executionpolicy -remotesigned.. press YES or Y to continue.

enter-pssession -computername "name of Computer" (without quots) -credentials "Useraccount for login" (without quotos)

once success you will be displayed like given below

[Remote computer Name]: PS...

Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 1:54am

How did you create the nano image?

Did you follow the guide at technet and enabled for remote management?

Perhaps this blog post is helpful: http://kristiannese.blogspot.no/2015/08/getting-started-with-nano-server-for.html

-kn

August 21st, 2015 2:09am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics