I am trying to connect to the raspberry pi 2 and change the device name through PowerShell. On entering the following command I get an error.
Enter-PsSession -ComputerName XX.XX.XXX.177 -Credential XX.XX.XXX.177\Administrator
Error:
Enter-PsSession : Connecting to remote server XX.XX.XXX.177 failed with the following error message : WinRM cannot complete the operation. Verify that th 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 fo 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 XX.XX.XXX.177 -Credential XX.XX.XXX.177 ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (XX.XX.XXX.177:String) [Enter- SSession], PSRemotingTransportException + FullyQualifiedErrorId : CreateRemoteRunspaceFailed
ANy leads / help will be highly appreciated. Thanks in advance :)
Test-WSMan...
work? – Peter Hahndorf