Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
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.

JavaScript
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.



Thanks & Regards

Sebastian
Posted
Updated 3-May-12 18:57pm
v6

First, this has absolutely nothing to do with C#, so I fail to see why you tagged your question "C#". It should have been "PowerShell".

Second, what part of "Access Denied" and "see the about_Remote_Troubleshooting Help topic" you listed in your error message is difficult to understand?
 
Share this answer
 
Comments
Sebastian T Xavier 4-May-12 1:04am    
Thanks for your update; I have re-tagged it.
Me too didn't understand that part of error message....
enter-pssession -ComputerName $computer
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900