Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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.
 

 
Thanks & Regards
 
Sebastian
Posted 2-May-12 3:54am
Edited 3-May-12 19:57pm
v6

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

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?
  Permalink  
Comments
Sebastian T Xavier at 4-May-12 1:04am
   
Thanks for your update; I have re-tagged it.
Me too didn't understand that part of error message....

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

  Print Answers RSS
0 OriginalGriff 365
1 Sergey Alexandrovich Kryukov 319
2 CPallini 275
3 DamithSL 214
4 Maciej Los 185
0 OriginalGriff 5,455
1 DamithSL 4,457
2 Maciej Los 3,885
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,115


Advertise | Privacy | Mobile
Web01 | 2.8.141216.1 | Last Updated 4 May 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100