Enter-PSSession:连接到远程服务器失败 [英] Enter-PSSession : Connecting to remote server failed

查看:1730
本文介绍了Enter-PSSession:连接到远程服务器失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,



我试图连接到一台机器(192.168.1.194);使用PowerShell使用以下查询 Enter-PSSession 192.168.1.194 。但是我得到了以下错误。



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



你能帮我解决这个问题吗?任何帮助将不胜感激。







谢谢&问候



Sebastian


Can you help me to solve this? Any help would be appreciated.



Thanks & Regards

Sebastian

推荐答案

首先,这与C#完全无关,所以我未能看看为什么你标记你的问题C#。它应该是PowerShell。



其次,您在错误消息中列出的拒绝访问和查看about_Remote_Troubleshooting帮助主题的哪一部分很难明白?
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?


enter-pssession -ComputerName
enter-pssession -ComputerName


computer


这篇关于Enter-PSSession:连接到远程服务器失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆