rated by 0 users
Not Answered This post has 0 verified answers | 1 Reply | 1 Follower

Not Ranked
6 Posts
sxavier posted on 05-02-2012 4:59 AM


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.




All Replies

Top 10 Contributor
640 Posts

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. 

Page 1 of 1 (2 items) | RSS
Copyright 2012 PowerShell.com. All rights reserved.