Click here to Skip to main content
11,632,715 members (86,707 online)
Rate this: bad
Please Sign up or sign in to vote.

I was trying to connect to a machine(; using powershell using the following query Enter-PSSession 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 <<<<   
+ CategoryInfo          : InvalidArgument: ( [Enter-PSSession], PSRemotingTransportException
+ FullyQualifiedErrorId : CreateRemoteRunspaceFailed
Can you help me to solve this? Any help would be appreciated.

Thanks & Regards

Posted 2-May-12 2:54am
Edited 3-May-12 18:57pm

1 solution

Rate this: bad
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?
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 8,618
1 Sergey Alexandrovich Kryukov 8,189
2 Mika Wendelius 6,415
3 F-ES Sitecore 2,321
4 Suvendu Shekhar Giri 2,075

Advertise | Privacy | Mobile
Web04 | 2.8.150728.1 | Last Updated 4 May 2012
Copyright © CodeProject, 1999-2015
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