I am following the instructions from Using PowerShell to connect and configure a device running Windows 10 IoT Core to access my Raspberry Pi 2 with Windows 10 IoT via PowerShell.
PS C:\> Enter-PSSession -ComputerName minwinpc -Credential minwinpc\Administrator
This then opens a window where I enter the default password.
Then after about two minutes, it fails with
Enter-PSSession : Processing data from remote server minwinpc failed with the following error message: The WinRM
client cannot process the request because the server name cannot be resolved. For more information, see the
about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ Enter-PSSession -ComputerName minwinpc -Credential minwinpc\Administrator
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (minwinpc:String) [Enter-PSSession], PSRemotingTransportException
+ FullyQualifiedErrorId : CreateRemoteRunspaceFailed
The Raspberry Pi 2 is, of course, up and running and I can access the website at http://minwinpc:8080
The development PC has windows 8.1 and is in the same subnet as the Raspberry Pi 2.
I already tried all the steps with the IP address instead of the hostname, but it gives the same error.
-Port
flag and adding the port (check firewall settings on your machine(s) and router, sometimes these things are set to disallow remote access.) – Havnar Aug 13 '15 at 12:08