Hello,
I was trying to connect to a machine(192.168.1.194); using powershell using the following query Enter-PSSession 192.168.1.194. But I got the following error.
Enter-PSSession : Connecting to remote server failed with the following error message : Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.At line:1 char:16+ Enter-PSSession <<<< 192.168.1.194 + CategoryInfo : InvalidArgument: (192.168.1.194:String) [Enter-PSSession], PSRemotingTransportException+ FullyQualifiedErrorId : CreateRemoteRunspaceFailed
Can you help me to solve this? Any help would be appreciated.
Regards
Sebastian
You can't use IP addresses by default, and you need to specify the credentials of a local Admin on the remote machine. See the free Secrets of PowerShell Remoting guide at http://powershellbooks.com. The chapter on connecting to computers specifically - it'll explain your options for this scenario.